Notwithstanding Hezekiah humbled himself for the pride of his heart, both he and the inhabitants of Jerusalem, so that the wrath of the LORD came not upon them in the days of Hezekiah.
Even though Hezekiah was proud, he later became humble. He and the people of Jerusalem did this too. Because of their humility, God's anger didn't come down on them while Hezekiah was still alive.