פּירוש אויף משלי 16:4

כֹּ֤ל פָּעַ֣ל יְ֭הוָה לַֽמַּעֲנֵ֑הוּ וְגַם־רָ֝שָׁ֗ע לְי֣וֹם רָעָֽה׃

אַלץ האָט גאָט געמאַכט פֿאַר זײַן צװעק, און אױך דעם רָשע פֿאַרן טאָג פֿון בײז.

Rashi

The Lord made everything for His praise Heb. למענהו. He made everything for His praise, as in (Ps. 147:7): “Praise (ענו) the Lord with thanksgiving.” Another explanation: To testify concerning Him. That is to say that His work testifies concerning Him, about His mighty acts. Both are in the Aggadah of Psalms (Midrash Tehillim 19:1).
פֿרעגט אַ רבֿBookmarkShareCopy

Rashi

even the wicked man He made, to leave him for the day of evil. All this is for His praise.
פֿרעגט אַ רבֿBookmarkShareCopy