Ezekiel 20:8

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.

Ezekiel 20:18

20:18 “‘But I said to their children in the wilderness, “Do not follow the practices of your fathers; do not observe their regulations, nor defile yourselves with their idols.