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

Psalms 107:17

Fools are afflicted because of their disobedience, and because of their iniquities.

Read in other translations