Ezekiel 20:18 Midrash

וָאֹמַ֤ר אֶל־בְּנֵיהֶם֙ בַּמִּדְבָּ֔ר בְּחוּקֵּ֤י אֲבֽוֹתֵיכֶם֙ אַל־תֵּלֵ֔כוּ וְאֶת־מִשְׁפְּטֵיהֶ֖ם אַל־תִּשְׁמֹ֑רוּ וּבְגִלּוּלֵיהֶ֖ם אַל־תִּטַּמָּֽאוּ׃

And I said unto their children in the wilderness: Walk ye not in the statutes of your fathers, neither observe their ordinances, nor defile yourselves with their idols;

Read midrashic interpretation of Ezekiel 20:18: and classical rabbinic exegesis.