God rescues the afflicted by their affliction; he instructs them by their torment.