1 Samuel 1:20-22

20 And it happened when the time had come around, Hannah conceived and bore a son and called his name Samuel, [saying], Because I have asked him of the LORD.

21 And the man Elkanah and all his house went up to offer to the LORD the yearly sacrifice and his vow.

22 But Hannah did not go up. For she said to her husband, Until the child is weaned, and then I will bring him so that he may appear before the LORD and stay there forever.