From the Hebrew Scriptures, 1 Samuel 1:10-17, 20, New Revised Standard Version of the Bible.
She was deeply distressed and prayed to the Lord, and wept bitterly. She made this vow: 'O Lord of hosts, if only you will look on the misery of your servant, and remember me, and not forget your servant, but will give to your servant a male child, then I will set him before you as a Nazirite until the day of his death. He shall drink neither wine nor intoxicants, and no razor shall touch his head.'
As she continued praying before the Lord, Eli observed her mouth. Hannah was praying silently; only her lips moved, but her voice was not heard; therefore Eli thought she was drunk. So Eli said to her, 'How long will you make a drunken spectacle of yourself? Put away your wine.' But Hannah answered, 'No, my lord, I am a woman deeply troubled; I have drunk neither wine nor strong drink, but I have been pouring out my soul before the Lord. Do not regard your servant as a worthless woman, for I have been speaking out of my great anxiety and vexation all this time.' Then Eli answered, 'Go in peace; the God of Israel grant the petition you have made to him.' And she said, 'Let your servant find favour in your sight.' Then the woman went to her quarters, ate and drank with her husband, and her countenance was sad no longer.
They rose early in the morning and worshipped before the Lord; then they went back to their house at Ramah. Elkanah knew his wife Hannah, and the Lord remembered her. In due time, Hannah conceived and bore a son. She named him Samuel, for she said, 'I have asked him of the Lord.'