1 Samuel 1:20-22

20 Therefore, it came to pass when the time was come about after Hannah had conceived, she 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 unto the LORD the accustomed sacrifice and his vow.

22 But Hannah did not go up, for she said unto her husband, [I will not go up] until the child is weaned, and [then] I will bring him that he may be presented before the LORD and abide there for ever.