Psalm 107:17

Fools, in their rebellious ways, and through their iniquities, suffered affliction.
BSB · Berean Standard Bible
Fools because of their transgression, and because of their iniquities, are afflicted.
KJV · King James Version
Fools are afflicted because of their disobedience, and because of their iniquities.
WEB · World English Bible
Fools because of their transgression, And because of their iniquities, are afflicted.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Fools
This is the third comparison; the captives being compared to persons in a dangerous malady, as the consequences of their own sins.
Psalm 14:1; Psalm 92:6; Proverbs 1:22; Proverbs 7:7, 22
because
Psalm 38:1–8; Numbers 11:33, 34; Numbers 12:10–13; Numbers 21:5–9; Isaiah 57:17, 18; Jeremiah 2:19; Lamentations 3:39