1 Samuel 1:6-11 KJV
And her adversary also provoked her sore, for to make her fret, because the LORD had shut up her womb.
And as he did so year by year, when she went up to the house of the LORD, so she provoked her; therefore she wept, and did not eat.
Then said Elkanah her husband to her, Hannah, why weepest thou? and why eatest thou not? and why is thy heart grieved? am not I better to thee than ten sons?
So Hannah rose up after they had eaten in Shiloh, and after they had drunk. Now Eli the priest sat upon a seat by a post of the temple of the LORD.
And she was in bitterness of soul, and prayed unto the LORD, and wept sore.
And she vowed a vow, and said, O LORD of hosts, if thou wilt indeed look on the affliction of thine handmaid, and remember me, and not forget thine handmaid, but wilt give unto thine handmaid a man child, then I will give him unto the LORD all the days of his life, and there shall no razor come upon his head.