"How long will this people spurn Me... I will strike them with pestilence" (Numbers 14:11-12). Moses said before the Holy One, blessed be He: "If You kill them, what will You do about the oath that You swore to the Patriarchs, that You said You would multiply their seed like the stars of the heavens?" The Holy One, blessed be He, said to him: "But are you not from among their descendants? From you I will fulfill 'a great nation,' and behold, I have fulfilled the oath that I swore to the Patriarchs."
Moses Pleads the Oath to the Patriarchs After the Spies
Midrash Aggadah, Numbers 14:11
עד אנה ינאצוני וגו' אכנו בדבר. אמר משה לפני הקדוש ב"ה אם אתה הורגם, השבועה שנשבעת לאבות מה תעשה שאמרת להרבות את זרעם ככוכבי השמים, אמר לו הקב"ה וכי [אין] אתה מבניהם, ממך אני מקיים גוי גדול והנה קיימתי את השבועה שנשבעתי לאבות: