Ezekiel 20:8-9

20:8 But they rebelled against me, and refused to listen to me; no one got rid of their detestable idols, nor did they abandon the idols of Egypt. Then I decided to pour out my rage on them and fully vent my anger against them in the midst of the land of Egypt. 20:9 I acted for the sake of my reputation, so that I would not be profaned before the nations among whom they lived, before whom I revealed myself by bringing them out of the land of Egypt.

Ezekiel 20:13-14

20:13 But the house of Israel rebelled against me in the wilderness; they did not follow my statutes and they rejected my regulations (the one who obeys them will live by them), and they utterly desecrated my Sabbaths. So I decided to pour out my rage on them in the wilderness and destroy them. 20:14 I acted for the sake of my reputation, so that I would not be profaned before the nations in whose sight I had brought them out.

Ezekiel 20:21-23

20:21 “‘But the children rebelled against me, did not follow my statutes, did not observe my regulations by carrying them out (the one who obeys them will live by them), and desecrated my Sabbaths. I decided to pour out my rage on them and fully vent my anger against them in the wilderness. 20:22 But I refrained from doing so, and acted instead for the sake of my reputation, so that I would not be profaned before the nations in whose sight I had brought them out. 20:23 I also swore to them in the wilderness that I would scatter them among the nations and disperse them throughout the lands.