Now there was a certain man of Ramathaim Zophim, of the mountains of Ephraim, and his name was Elkanah the son of Jeroham, the son of Elihu, the son of Tohu, the son of Zuph, an Ephraimite. And he had two wives: the name of one was Hannah, and the name of the other Peninnah. Peninnah had children, but Hannah had no children. This man went up from his city yearly to worship and sacrifice to the LORD of hosts in Shiloh. Also the two sons of Eli, Hophni and Phinehas, the priests of the LORD, were there. And whenever the time came for Elkanah to make an offering, he would give portions to Peninnah his wife and to all her sons and daughters. But to Hannah he would give a double portion, for he loved Hannah, although the LORD had closed her womb. And her rival also provoked her severely, to make her miserable, because the LORD had closed her womb. So it was, year by year, when she went up to the house of the LORD, that she provoked her; therefore she wept and did not eat.
Then Elkanah her husband said to her, “Hannah, why do you weep? Why do you not eat? And why is your heart grieved? Am I not better to you than ten sons?”
So Hannah arose after they had finished eating and drinking in Shiloh. Now Eli the priest was sitting on the seat by the doorpost of the tabernacle of the LORD. And she was in bitterness of soul, and prayed to the LORD and wept in anguish. Then she made a vow and said, “O LORD of hosts, if You will indeed look on the affliction of Your maidservant and remember me, and not forget Your maidservant, but will give Your maidservant a male child, then I will give him to the LORD all the days of his life, and no razor shall come upon his head.”
And it happened, as she continued praying before the LORD, that Eli watched her mouth. Now Hannah spoke in her heart; only her lips moved, but her voice was not heard. Therefore Eli thought she was drunk.