9 Bring to an end the violence of the wicked and make the righteous secure— you, the righteous God who probes minds and hearts.

Read Psalm 7:9 Using Other Translations

Oh let the wickedness of the wicked come to an end; but establish the just: for the righteous God trieth the hearts and reins.
Oh, let the evil of the wicked come to an end, and may you establish the righteous-- you who test the minds and hearts, O righteous God!
End the evil of those who are wicked, and defend the righteous. For you look deep within the mind and heart, O righteous God.