His children had behaved badly for many years, despite many warnings, and it was time for them to “experience” Fatherly correction. But the correction was not without purpose, it was not borne of anger. Rather, as a good father, the correction that God was about to inflict was meant to help them change from doing evil to doing good: God wanted them to become the best children they could be.
God disciplines/corrects His children: “I will… correct thee in measure; yet will I not leave thee wholly unpunished”. BUT, He removes/annihilates His enemies. Where do you stand?
God does not want our sinfulness to destroy us, so, like any good father would, He takes corrective measures to ‘straighten us out’.