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

Psalms 118:142

Thy righteousness is an everlasting righteousness, and thy law is truth.

Read in other translations