Ezekiel 20:18 in the King James Version
But I said unto their children in the wilderness, Walk ye not in the statutes of your fathers, neither observe their judgments, nor defile yourselves with their idols:
Context
17 Nevertheless my eye spared them, and I didn’t destroy them. I didn’t make a full end of them in the wilderness.
18 I said to their children in the wilderness, ‘Don’t walk in the statutes of your fathers. Don’t observe their ordinances or defile yourselves with their idols.
19 I am the LORD your God. Walk in my statutes, keep my ordinances, and do them.