After Hannah denied being drunk and described her distress, Eli told her to go in peace. He also said the God of Israel would grant her petition. 1 Samuel 1:15–17
In 1 Samuel 1:12–18, Hannah keeps praying at the sanctuary, but her silent, intense prayer is mistaken by Eli for drunken behavior. Eli confronts her sharply, and Hannah explains she has not been drinking; she is deeply distressed and is pouring out her inner life to Yahweh. She asks Eli not to label her as a bad woman. This scene sits inside the opening story of Hannah’s barrenness, rivalry with Peninnah, and the family’s yearly worship at Shiloh. Just before this, Hannah has been provoked and weeping, yet she chooses to pray and make a vow (verses 9–11).
The passage presents a public misunderstanding inside Israel’s main worship space. Hannah is praying “before Yahweh,” but her prayer is silent: her lips move while her voice is not heard. Eli, who is watching her mouth, draws the wrong conclusion and treats her as if she is drunk. Hannah’s reply clarifies both behavior and motive.
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with 1 Samuel 1:15-17, then read the surrounding section so the answer stays connected to the passage's flow.
15Hannah answered, No, my lord, I am a woman of a sorrowful spirit: I have drunk neither wine nor strong drink, but I poured out my soul before Yahweh.
16Don`t count your handmaid for a wicked woman; for out of the abundance of my complaint and my provocation have I spoken hitherto.
17Then Eli answered, Go in peace; and the God of Israel grant your petition that you have asked of him.