Read Ezekiel 21.

This is a chapter related to God’s judgment against Israel for their sinfulness. There are multiple issues raised in this chapter.
The first is that Lord’s statement in verse 3 that He is the enemy of Israel. For anyone or any group to have made decisions and taken steps to become the enemy of God is not good.
The second is that the judgment will affect both the righteous and the wicked. Previously, Ezekiel included words that the one who sins will be punished for his/her sins, but the one who is righteous will be saved. Now the word comes declaring that both will be caught up in this judgment. This implies that staying close to those who rebel against God makes one vulnerable to getting caught up in the consequences.
The third is that this judgment is not the final word relative to Israel. Included in the message of destruction is a message of future restoration and hope.
Ezekiel 21:2-4, 12-13, 26-27 NLT
“Son of man, turn and face Jerusalem and prophesy against Israel and her sanctuaries. [3] Tell her, ‘This is what the LORD says: I am your enemy, O Israel, and I am about to unsheath my sword to destroy your people-the righteous and the wicked alike. [4] Yes, I will cut off both the righteous and the wicked! I will draw my sword against everyone in the land from south to north.
[12] “Son of man, cry out and wail; pound your thighs in anguish, for that sword will slaughter my people and their leaders- everyone will die! [13] It will put them all to the test. What chance do they have? says the Sovereign LORD. [26] This is what the Sovereign LORD says: “Take off your jeweled crown, for the old order changes. Now the lowly will be exalted, and the mighty will be brought down.
[27] Destruction! Destruction! I will surely destroy the kingdom. And it will not be restored until the one appears who has the right to judge it. Then I will hand it over to him.