1 Samuel 1:9-20 NIV
Once when they had finished eating and drinking in Shiloh, Hannah stood up. Now Eli the priest was sitting on his chair by the doorpost of the LORD’s house. In her deep anguish Hannah prayed to the LORD, weeping bitterly. And she made a vow, saying, “LORD Almighty, if you will only look on your servant’s misery and remember me, and not forget your servant but give her a son, then I will give him to the LORD for all the days of his life, and no razor will ever be used on his head.”
As she kept on praying to the LORD, Eli observed her mouth. Hannah was praying in her heart, and her lips were moving but her voice was not heard. Eli thought she was drunk and said to her, “How long are you going to stay drunk? Put away your wine.”
“Not so, my lord,” Hannah replied, “I am a woman who is deeply troubled. I have not been drinking wine or beer; I was pouring out my soul to the LORD. Do not take your servant for a wicked woman; I have been praying here out of my great anguish and grief.”
Eli answered, “Go in peace, and may the God of Israel grant you what you have asked of him.”
She said, “May your servant find favor in your eyes.” Then she went her way and ate something, and her face was no longer downcast.
Early the next morning they arose and worshiped before the LORD and then went back to their home at Ramah. Elkanah made love to his wife Hannah, and the LORD remembered her. So in the course of time Hannah became pregnant and gave birth to a son. She named him Samuel, saying, “Because I asked the LORD for him.”
NIV: New International Version