what does the bible say?
Hannah was one of Elkanah's two wives and was barren (1 Samuel 1:1–2). We are only told that the LORD closed her womb (1 Samuel 1:6). Elkanah’s other wife used to mock her, causing Hannah great sadness year after year (1 Samuel 1:6–8). One year, Hannah, while weeping, promised God that if He gave her a son, she would dedicate him to temple service (1 Samuel 1:10–11). Eli, the priest, not knowing what she prayed, told her that God would grant her petition (1 Samuel 1:17–18). As promised, she conceived and named him Samuel, a name that sounds like “asked” in Hebrew, because she asked and God gave her a son (1 Samuel 1:20). Hannah kept her promise and, after weaning him, she brought him along with a sacrifice and gave him to Eli to serve in the temple (1 Samuel 1:21–28). Samuel went on to be one of Israel’s most well-known prophets and the one through whom God anointed King Saul (1 Samuel 10:1) and King David (1 Samuel 16:13). God blessed Hannah for her faithfulness, giving her more children (1 Samuel 2:21). Hannah’s righteous prayer was used to benefit all of Israel as well as to demonstrate God’s mercy for her.