Berean Study Bible (BSB) - Psalms 7:9 >

Put an end to the evil of the wicked, but establish the righteous, O righteous God who searches hearts and minds.

Jewish Publication Society of America Version (JPS1917) - Psalms 7:9 >

(7-10) 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.