What a terrible thing for God to give up, so when you ask Him for help, He refuses:
Ezekiel 14:3-4 Son of man, these leaders have set up idols in their hearts. They have embraced things that will make them fall into sin. Why should I listen to their requests? Tell them, ‘This is what the Sovereign Lord says: The people of Israel have set up idols in their hearts and fallen into sin, and then they go to a prophet asking for a message. So I, the Lord, will give them the kind of answer their great idolatry deserves.
That said, it wasn’t God’s desire for anyone to die:
Ezekiel 14:5 I will do this to capture the minds and hearts of all my people who have turned from me to worship their detestable idols.’