Avot5: 4
עֲשָׂרָה נִסִּים נַעֲשׂוּ לַאֲבוֹתֵינוּ בְמִצְרַיִם וַעֲשָׂרָה עַל הַיָּם.  [עֶשֶׂר מַכּוֹת הֵבִיא הַקָּדוֹשׁ בָּרוּךְ הוּא עַל הַמִּצְרִיִּים בְּמִצְרַיִם וְעֶשֶׂר עַל הַיָּם].  עֲשָׂרָה נִסְיוֹנוֹת נִסּוּ אֲבוֹתֵינוּ אֶת הַמָּקוֹם בָּרוּךְ הוּא בַמִּדְבָּר, שֶׁנֶּאֱמַר: ”וַיְנַסּוּ אֹתִי זֶה עֶשֶׂר פְּעָמִים וְלֹא שָׁמְעוּ בְּקוֹלִי”.
Ten miracles were performed for our ancestors in Egypt and ten [miracles] at the Sea [of Reeds].  (Ten Plagues the Holy One, Blessed is He, brought on the Egyptians in Egypt and ten [plagues] at the Sea [of Reeds].)  [With] ten trials our forefathers tried the Holy One, Blessed is He, in the Wilderness, as it says: They have tried Me now ten times and have not lis-tened to My voice.