Job 36:15 CSB

15 God rescues the afflicted by afflicting them; He instructs them by means of their torment.