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

Psalms 119:166

Lord, I have hoped for thy salvation, and done thy commandments.

Read in other translations