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

Psalms 106:40

Therefore was the wrath of the Lord kindled against his people, insomuch that he abhorred his own inheritance.

Read in other translations