God takes care of His own. Isaiah describes what it will be like when God restores Israel and the remnant is preserved and the wicked are judged.
First, God will purge away anything that distracts His people from Him. “24) Therefore saith the Lord, the LORD of hosts, the mighty One of Israel, Ah, I will ease me of mine adversaries, and avenge me of mine enemies: 25) And I will turn my hand upon thee, and purely purge away thy dross, and take away all thy tin.” (Isaiah 1:24,25) When all the dross is purged away, God will rest from chastising His people, “So will I make my fury toward thee to rest, and my jealousy shall depart from thee, and I will be quiet, and will be no more angry.” (Ezekiel 16:42) When God takes vengeance on His enemies and on those that hate Him, He will preserve His own, “Rejoice, O ye nations, with his people: for he will avenge the blood of his servants, and will render vengeance to his adversaries, and will be merciful unto his land, and to his people.” (Deuteronomy 32:43)
The second thing God will do is put righteous people back into places of leadership. He will cause Zion to be known as a righteous and faithful city, “26) And I will restore thy judges as at the first, and thy counsellors as at the beginning: afterward thou shalt be called, The city of righteousness, the faithful city. 27) Zion shall be redeemed with judgment, and her converts with righteousness.” (Isaiah 1:26,27)
The third thing God will do is judge and destroy the wicked. None of the wicked will fight against God and win. The strongest of them will be like tow. Tow was something that was shaken or thrown away, like the broken part of hemp or flax when it was separated from the fine, fibrous parts. Flax was broken down by hatcheling or combing. A hatchel was a board with long iron teeth in it used for combing the flax. The fibrous parts of the flax would be processed so they could be spun like cotton. Tow was the part of the flax that was thrown away after combing. The wicked will be just like tow, thrown out and burned up because of sin and an unrepentant heart. “28) And the destruction of the transgressors and of the sinners shall be together, and they that forsake the LORD shall be consumed. 29) For they shall be ashamed of the oaks which ye have desired, and ye shall be confounded for the gardens that ye have chosen. 30) For ye shall be as an oak whose leaf fadeth, and as a garden that hath no water. 31) And the strong shall be as tow, and the maker of it as a spark, and they shall both burn together, and none shall quench them.” (Isaiah 1:28-31)
It is a frightening time when God pours out His hand of judgment. But God’s people do not need to be afraid because He will preserve them. In Zephaniah 2:2,3 God pleaded with Israel, “…before the day of the LORD's anger come upon you. Seek ye the LORD, all ye meek of the earth, which have wrought his judgment; seek righteousness, seek meekness: it may be ye shall be hid in the day of the LORD's anger.” Seek God. Seek His hiding place when you see the hand of the Lord ready to fall on the wicked. Find in Him your hiding place, “7) A thousand shall fall at thy side, and ten thousand at thy right hand; but it shall not come nigh thee. 8) Only with thine eyes shalt thou behold and see the reward of the wicked. 9) Because thou hast made the LORD, which is my refuge, even the most High, thy habitation; 10) There shall no evil befall thee, neither shall any plague come nigh thy dwelling. 11) For he shall give his angels charge over thee, to keep thee in all thy ways.” (Psalm 91:7-11)