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

Psalms 118:138

Thou hast commanded righteousness and perfect truth, [as] thy testimonies.

Read in other translations