Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
WEB

Psalms 7: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.

Read in other translations