168 Avot 5/2-4

(ב) עֲשָׂרָה דוֹרוֹת מֵאָדָם וְעַד נֹחַ, לְהוֹדִיעַ כַּמָּה אֶרֶךְ אַפַּיִם לְפָנָיו, שֶׁכָּל הַדּוֹרוֹת הָיוּ מַכְעִיסִין וּבָאִין עַד שֶׁהֵבִיא עֲלֵיהֶם אֶת מֵי הַמַּבּוּל. עֲשָׂרָה דוֹרוֹת מִנֹּחַ וְעַד אַבְרָהָם, לְהוֹדִיעַ כַּמָּה אֶרֶךְ אַפַּיִם לְפָנָיו, שֶׁכָּל הַדּוֹרוֹת הָיוּ מַכְעִיסִין וּבָאִין, עַד שֶׁבָּא אַבְרָהָם וְקִבֵּל עָלָיו שְׂכַר כֻּלָּם:

(ג) עֲשָׂרָה נִסְיוֹנוֹת נִתְנַסָּה אַבְרָהָם אָבִינוּ עָלָיו הַשָּׁלוֹם וְעָמַד בְּכֻלָּם, לְהוֹדִיעַ כַּמָּה חִבָּתוֹ שֶׁל אַבְרָהָם אָבִינוּ עָלָיו הַשָּׁלוֹם:

(ד) עֲשָׂרָה נִסִּים נַעֲשׂוּ לַאֲבוֹתֵינוּ בְמִצְרַיִם וַעֲשָׂרָה עַל הַיָּם. עֶשֶׂר מַכּוֹת הֵבִיא הַקָּדוֹשׁ בָּרוּךְ הוּא עַל הַמִּצְרִיִּים בְּמִצְרַיִם וְעֶשֶׂר עַל הַיָּם. עֲשָׂרָה נִסְיוֹנוֹת נִסּוּ אֲבוֹתֵינוּ אֶת הַמָּקוֹם בָּרוּךְ הוּא בַמִּדְבָּר, שֶׁנֶּאֱמַר (במדבר יד) וַיְנַסּוּ אֹתִי זֶה עֶשֶׂר פְּעָמִים וְלֹא שָׁמְעוּ בְּקוֹלִי:

(2) There were ten generations from Adam to Noah, to demonstrate the great extent of [God's] patience, for each one of those generations provoked [God] continually until [God] brought the waters of the flood upon them. There were ten generations from Noah to Abraham, to demonstrate the extent of [God's] patience, for each one of those generations provoked [God] continually, until Abraham came and received the reward of them all.

(3) With ten tests Abraham, our father, was tested - and he withstood them all; in order to show how great was the love of Abraham, our father - peace be upon him.

(4) Ten miracles were performed for our ancestors in Egypt, and ten [miracles were performed] at the [Reed] Sea. [With] ten trials did our ancestors test the Omnipresent, blessed be He, in the Wilderness, as it is said (Numbers 14:22): “Yet have they tested Me these ten times, and have not hearkened to My voice.”