C.s. Lewis said this quote

Divine punishment are also mercies.