There was a man from Ramathaim-zophim in the hill country of Ephraim. His name was Elkanah son of Jeroham, son of Elihu, son of Tohu, son of Zuph, an Ephraimite.
This man would go up from his town every year to worship and to sacrifice to the LORD of Hosts at Shiloh, where Eli's two sons, Hophni and Phinehas, were the LORD's priests.
Making a vow, she pleaded, "LORD of Hosts, if You will take notice of Your servant's affliction, remember and not forget me, and give Your servant a son, I will give him to the LORD all the days of his life, and his hair will never be cut."
The next morning Elkanah and Hannah got up early to bow and to worship the LORD. Afterwards, they returned home to Ramah. Then Elkanah was intimate with his wife Hannah, and the LORD remembered her.
Hannah did not go and explained to her husband, "After the child is weaned, I'll take him to appear in the LORD's presence and to stay there permanently."
Her husband Elkanah replied, "Do what you think is best, and stay here until you've weaned him. May the LORD confirm your word." So Hannah stayed there and nursed her son until she weaned him.
When she had weaned him, she took him with her to Shiloh, as well as a three-year-old bull, two and one-half gallons of flour, and a jar of wine. Though the boy was [still] young, she took him to the LORD's house at Shiloh.