This man went up from his city each year to worship and sacrifice to the LORD of hosts at Shiloh. Hophni and Phinehas, the two sons of Eli, were priests to the LORD there. When the day came that Elkanah sacrificed, he would give portions [of the sacrificial meat] to Peninnah his wife and all her sons and daughters. But to Hannah he would give a double portion, because he loved Hannah, but the LORD had given her no children. Hannah’s rival provoked her bitterly, to irritate and embarrass her, because the LORD had left her childless. So it happened year after year, whenever she went up to the house of the LORD, Peninnah provoked her; so she wept and would not eat. Then Elkanah her husband said to her, “Hannah, why do you cry and why do you not eat? Why are you so sad and discontent? Am I not better to you than ten sons?”
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.”