Job 5:17-18, NLT

17“But consider the joy of those corrected by God!

Do not despise the discipline of the Almighty when you sin.

18For though he wounds, he also bandages.

He strikes, but his hands also heal.