"And Peninnah had children, but Hannah had no children" (1 Samuel 1:2). Rabbi Levi said: in every place where it says "she has none," she came to have. "And Sarai was barren; she had no child" (Genesis 11:30), and she came to have, "And the LORD remembered Sarah" (Genesis 21:1). And likewise: "she has none to comfort her" (Lamentations 1:2), and she came to have, "I, even I, am He who comforts you" (Isaiah 51:12). "And Peninnah had children, but Hannah had no children," and she came to have, "and she conceived and bore three sons and two daughters" (1 Samuel 2:21). "Zion, for whom none cares" (Jeremiah 30:17), and she came to have, "And a redeemer shall come to Zion" (Isaiah 59:20). "Sing, O barren one who did not bear" (Isaiah 54:1), and she came to have, "and you will say in your heart: Who bore me these?" (Isaiah 49:21).
Wherever Scripture Says She Had None It Means She Would
Yalkut Shimoni on Nach 77:4
ויהי לפנינה ילדים ולחנה אין ילדים. א"ר לוי בכל מקום שנאמר אין לה והה לה. ותהי שרי עקרה אין לה ולד והיה לה וה' פקד את שרה. ודכותה אין לה מנחם והוה לה אנכי אנכי הוא מנחמכם, ויהי לפנינה ילדים ולחנה אין ילדים והוה לה ותהר ותלד שלשה בנים ושתי בנות. ציון היא דורש אין לה והוה לה ובא לציון גואל. רני עקרה לא ילדה והוה לה ואמרת בלבבבך מי ילד לי את אלה: