So Hannah got up after eating and drinking in Shiloh. Now Eli the priest was sitting on his seat beside the doorpost of the temple (tabernacle) of the LORD. Hannah was greatly distressed, and she prayed to the LORD and wept in anguish. She made a vow, saying, “O LORD of hosts, if You will indeed look on the affliction (suffering) of Your maidservant and remember, and not forget Your maidservant, but will give Your maidservant a son, then I will give him to the LORD all the days of his life; a razor shall never touch his head.”
Now it happened as she continued praying before the LORD, that Eli was watching her mouth. Hannah was speaking in her heart (mind); only her lips were moving, and her voice was not heard, so Eli thought she was drunk. Eli said to her, “How long will you make yourself drunk? Get rid of your wine.” But Hannah answered, “No, my lord, I am a woman with a despairing spirit. I have not been drinking wine or any intoxicating drink, but I have poured out my soul before the LORD. [Gen 19:34] Do not regard your maidservant as a wicked and worthless woman, for I have spoken until now out of my great concern and [bitter] provocation.” Then Eli answered and said, “Go in peace; and may the God of Israel grant your petition that you have asked of Him.” Hannah said, “Let your maidservant find grace and favor in your sight.” So the woman went on her way and ate, and her face was no longer sad.
The family got up early the next morning, worshiped before the LORD, and returned to their home in Ramah. Elkanah knew Hannah his wife, and the LORD remembered her [prayer]. It came about in due time, after Hannah had conceived, that she gave birth to a son; she named him Samuel, saying, “Because I have asked for him from the LORD.”
Then the man Elkanah and all his household went up to offer to the LORD the yearly sacrifice and pay his vow. But Hannah did not go up, for she said to her husband, “I will not go up until the child is weaned; and then I will bring him, so that he may appear before the LORD and remain there as long as he lives.” Elkanah her husband said to her, “Do what seems best to you. Wait until you have weaned him; only may the LORD establish and confirm His word.” So the woman remained [behind] and nursed her son until she weaned him. Now when she had weaned him, she took him up with her, along with a three-year-old bull, an ephah of flour, and a leather bottle of wine [to pour over the burnt offering for a sweet fragrance], and she brought Samuel to the LORD’S house in Shiloh, although the child was young. Then they slaughtered the bull, and brought the child to Eli. Hannah said, “Oh, my lord! As [surely as] your soul lives, my lord, I am the woman who stood beside you here, praying to the LORD. For this child I prayed, and the LORD has granted me my request which I asked of Him. Therefore I have also dedicated him to the LORD; as long as he lives he is dedicated to the LORD.” And they worshiped the LORD there.