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

Psalms 118:51

The proud have transgressed exceedingly; but I swerved not from thy law.

Read in other translations