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

Psalms 40:3

And he hath put a new song in my mouth, even praise unto our God: many shall see it, and fear, and shall trust in the Lord.

Read in other translations