1 Samuel 1:21-28 - Samuel Given To The Lord
21 Then Elkanah went up with all his family to offer the yearly sacrifice to the LORD and pay his vow. 22 Hannah did not go up because she had told her husband, "As soon as the child is weaned, I'll take him to appear in the LORD's presence and remain there forever."
23 "Do what you want," Elkanah told her. "Stay until you have weaned him, only may the LORD bring about what you've said." So Hannah stayed and nursed her son until she had weaned him. 24 Then, when she had weaned him, she brought him up with her to Shiloh, along with a three-year-old bull, an ephah of flour, and a skin of wine. She brought him to the house of the LORD at Shiloh, and the boy was young. 25 They slaughtered the bull and brought the boy to Eli.
26 Hannah said, "Sir, as surely as you are alive, I'm the woman who stood before you here praying to the LORD. 27 I prayed for this boy, and the LORD granted me the request I asked of him. 28 Now I'm dedicating him to the LORD, and as long as he lives, he will be dedicated to the LORD." Then they worshipped the LORD there.