2 Chronicles 12:7kana
When the Lord saw they were sorry for what they had done, the Lord spoke his word to Shemaiah, saying, "The king and the leaders are sorry. So I will not destroy them but will save them soon. I will not use Shishak to punish Jerusalem in my anger.
God spares Judah's leaders when he sees they are sorry.
Jeremiah 21:7
Then, says the Lord, I'll hand over Zedekiah king of Judah, his officers, and the people in Jerusalem who do not die from the terrible diseases or battle or hunger, to Nebuchadnezzar king of Babylon. I will let those win who want to kill the people of Judah, so the people of Judah and Jerusalem will be killed in war. Nebuchadnezzar will not show any mercy or pity or feel sorry for them!'