Psalms 7:10 Midrash

יִגְמָר־נָ֬א רַ֨ע ׀ רְשָׁעִים֮ וּתְכוֹנֵ֪ן צַ֫דִּ֥יק וּבֹחֵ֣ן לִ֭בּ֗וֹת וּכְלָי֗וֹת אֱלֹהִ֥ים צַדִּֽיק׃

Oh that a full measure of evil might come upon the wicked, And that Thou wouldest establish the righteous; For the righteous God trieth the heart and reins.

Read midrashic interpretation of Psalms 7:10: and classical rabbinic exegesis.