Makos3: 16
רַבִּי חֲנַנְיָא בֶּן עֲקַשְׁיָא אוֹמֵר: רָצָה הַקָּדוֹשׁ בָּרוּךְ הוּא לְזַכּוֹת אֶת יִשְׂרָאֵל; לְפִיכָךְ הִרְבָּה לָהֶם תּוֹרָה וּמִצְוֹת, שֶׁנֶּאֱמַר: ,,ה' חָפֵץ לְמַעַן צִדְקוֹ, יַגְדִּיל תּוֹרָה וְיַאְדִּיר”.
R' Chanania ben Akashia says: The Holy One, Blessed is He, wished to confer merit upon Israel; therefore He gave them Torah and mitzvos in abundance, as it is said: Hashem desired for the sake of its [Israel's] righteousness, that the Torah be expanded and strengthened (Isaiah 42:21).