How does the Bible balance God's righteous anger with his mercy and compassion?

God's righteous anger and mercy