As Hannah was praying in the temple, Eli walked in and thought she was drunk. He jumped to a conclusin that she had been drinking wine and beer, but Hannah said that no drop of wine or beer has touched her tongue. Instead she said she has been pouring out her heart to God.
Eli understood what she meant and he blessed her saying “Go in peace. And may the God of Israel give you what you have asked of him.”
She went home and slept with her husband Elkannah and God mad the arrangements necessary in response to what she asked. Eventually she got a son and named him Samuel. They dedicated the son to God.
After raising Samuelf for a little bit, she went back to the tabernacle and gave Samuel in charge of Eli. He was now to be educated and live in the tabernacle.
Samuel soon developed deep love for Eli and they read the Bible together.
It took a while for Samuel to get along with with Eli sons for they were mean to him.