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

Psalms 7:10

My defence is of God, which saveth the upright in heart.

Read in other translations