Another interpretation: "and there be no herd" (Habakkuk 3:17) — this is the decree that You decreed concerning me when You said, "So shall your seed be" (Genesis 15:5). Would You destroy them, so that there is "no herd in the stalls" (Habakkuk 3:17)? Would You not raise up from her the tribe of Ephraim, about whom it is written, "And Ephraim is a trained heifer" (Hosea 10:11)? "There is no herd," said our mother Sarah; nevertheless, "Yet I will rejoice in the Lord" (Habakkuk 3:18). These say, Sarah does not bear, and those say, Abraham does not beget; nevertheless, she trusts in the Lord. The Holy One, blessed be He, said to her: And in Me you place your trust; by your life, I will visit you, as it is said, "And the Lord visited Sarah" (Genesis 21:1).]
Sarah Trusts the Lord Against the Decree of No Herd
Midrash Tanchuma Buber, Vayera 31:2
ד"א ואתן הגזירה שגזרת עלי ואמרת כה יהיה זרעך (בראשית טו ה), מכלה אתה אותן, ואין בקר ברפתים (חבקוק שם), אין אתה מעמיד מנה שבט אפרים, שכתב בו ואפרים עגל מלומדה (הושע י יא), אין בקר אמרה אמנו שרה, אע"פ כן ואני בה' אעלוזה (חקוק שם יח), אלו אומרים אין שרה יולדת, ואלו אומרים אין אברהם מוליד, אע"פ כן בה' בוטחה, אמר לה הקב"ה ועלי את נבטחת, חייך אני פוקד אותך שנאמר וה' פקד את שרה].