“I will stretch out My hand against them, and wherever they live I will make the land a desolate waste, from the wilderness to Diblah. Then they will know that I am Yahweh.””
Ezekiel 6:14 HCSB
In God’s wrath, He is still working with one purpose: to make His name known. Obviously, the Israelites have turned away from Him and do not believe in Him, or at least do not believe that He is the only God, otherwise they would not worship idols. In fact, if they believed that He was God they would have followed His commandments, and would not have turned to idols in the first place. Through His wrath, He is making it known that He is God, and if He is God there can be no other gods.