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

Psalms 40:4

Blessed is that man that maketh the Lord his trust, and respecteth not the proud, nor such as turn aside to lies.

Read in other translations