18 I said to their children in the wilderness, “Do not follow the statutes of your parents or keep their laws or defile yourselves with their idols.

Read Ezekiel 20:18 Using Other Translations

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:
"And I said to their children in the wilderness, Do not walk in the statutes of your fathers, nor keep their rules, nor defile yourselves with their idols.
“Then I warned their children not to follow in their parents’ footsteps, defiling themselves with their idols.