1 Samuel 1:11
1:11 She made a vow saying, “O Lord of hosts, if you will look with compassion on the suffering of your female servant, remembering me and not forgetting your servant, and give a male child to your servant, then I will dedicate him to the Lord all the days of his life. His hair will never be cut.”
1 Samuel 1:22
1:22 but Hannah did not go up with them. Instead she told her husband, “Once the boy is weaned, I will bring him and appear before the Lord, and he will remain there from then on.”
1 Samuel 1:27-28
1:27 I prayed for this boy, and the Lord has given me the request that I asked of him.
1:28 Now I dedicate him to the Lord. From this time on he is dedicated to the Lord.” Then they worshiped the Lord there.