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

Psalms 119:67

Before I was afflicted I went astray: but now have I kept thy word.

Read in other translations