C.s. Lewis said this quote

No doubt Pain as God's megaphone is a terrible instrument, it may lead to final and unrepented rebellion. But it gives the only opportunity the bad man can have for amendment. It removes the veil, it plants the flag of truth within the fortress of a rebel soul.