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

Psalms 118:56

This I had, because I diligently sought thine ordinances.

Read in other translations