Psalms 107:17

NASB
Fools, because of their rebellious way, And because of their iniquities, were afflicted.