1 Samuel 1:22

22 But this time Hannah did not go. She told her husband, "As soon as the child is weaned, I will take him to the house of the Lord, where he will stay all his life."

1 Samuel 1:22 In-Context

20 So it was that she became pregnant and gave birth to a son. She named him Samuel, and explained, "I asked the Lord for him."
21 The time came again for Elkanah and his family to go to Shiloh and offer to the Lord the yearly sacrifice and the special sacrifice he had promised.
22 But this time Hannah did not go. She told her husband, "As soon as the child is weaned, I will take him to the house of the Lord, where he will stay all his life."
23 Elkanah answered, "All right, do whatever you think best; stay at home until you have weaned him. And may the Lord make your promise come true." So Hannah stayed at home and nursed her child.
24 After she had weaned him, she took him to Shiloh, taking along a three-year-old bull, a bushel of flour, and a leather bag full of wine. She took Samuel, young as he was, to the house of the Lord at Shiloh.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.