Midrash for Pirkei Avot 5:1
בַּעֲשָׂרָה מַאֲמָרוֹת נִבְרָא הָעוֹלָם. וּמַה תַּלְמוּד לוֹמַר, וַהֲלֹא בְמַאֲמָר אֶחָד יָכוֹל לְהִבָּרְאוֹת, אֶלָּא לְהִפָּרַע מִן הָרְשָׁעִים שֶׁמְּאַבְּדִין אֶת הָעוֹלָם שֶׁנִּבְרָא בַעֲשָׂרָה מַאֲמָרוֹת, וְלִתֵּן שָׂכָר טוֹב לַצַּדִּיקִים שֶׁמְּקַיְּמִין אֶת הָעוֹלָם שֶׁנִּבְרָא בַעֲשָׂרָה מַאֲמָרוֹת:
With ten pronouncements (ma'amaroth) the world was created, [nine "And He said," and "In the beginning" is also a pronouncement, viz. (Psalms 33:6): "By the word of the L rd the heavens were made."] What are we hereby being taught? Could it not have been created with one pronouncement? But, [this was stated] to exact punishment of the wicked who destroy the world, which was created with ten pronouncements [For if one destroys one Jewish soul it is as if he destroys an entire world, and the wicked, who in their sins destroy their souls, are reckoned as having destroyed the entire world. (Thus have I found.) And to me it seems that they destroy the world itself, for they incline all of the world to the scale of punishment, so that it is destroyed because of them. "With ten pronouncements": There is no comparison between destroying a work created in one day and (destroying) a work created in many days], and to give goodly reward to the tzaddikim, who sustain the world, which was created with ten pronouncements.