Isaiah 38:16-17

16 Lord, by such things people live; and my spirit finds life in them too. You restored me to health and let me live.
17 Surely it was for my benefit that I suffered such anguish. In your love you kept me from the pit of destruction; you have put all my sins behind your back.