Psalm 7:9 in the King James Version
Oh let the wickedness of the wicked come to an end; but establish the just: for the righteous God trieth the hearts and reins.
Context
8 The LORD administers judgment to the peoples. Judge me, LORD, according to my righteousness, and to my integrity that is in me.
9 Oh let the wickedness of the wicked come to an end, but establish the righteous; their minds and hearts are searched by the righteous God.
10 My shield is with God, who saves the upright in heart.