Ezekiel 20:7-9

20:7 I said to them, “Each of you must get rid of the detestable idols you keep before you, and do not defile yourselves with the idols of Egypt; I am the Lord your God.” 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.