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

Psalms 9:8

And he shall judge the world in righteousness, he shall minister judgment to the people in uprightness.

Read in other translations