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

Psalms 40:15

Let them be desolate for a reward of their shame that say unto me, Aha, aha.

Read in other translations