When God saw what they did, how they turned from their evil way, God relented of the disaster that he had said he would do to them, and he did not do it.
Not only that, but we rejoice in our sufferings, knowing that suffering produces endurance, and endurance produces character, and character produces hope.