Midras Imamat 20:23: Midrash Mishlei & Sifra

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

Janganlah kamu hidup menurut adat kebiasaan bangsa yang akan Kuusir dari hadapanmu, sebab mereka telah melakukan semua perbuatan ini, dan Aku jijik terhadap mereka.

Midrash Mishlei

[10](Proverbs 1:15): "My son, do not walk in the way with them" - this refers to the nations of the world, as it is said of them (Leviticus 20:23): "And you shall not walk in the customs of the nations." "Hold back your foot from their path" - so as not to worship their idolatry, as it is said (Exodus 34:14): "For you shall not bow down to another god." (Proverbs 1:16): "For their feet run to evil" - this refers to idolatry, "and they make haste to shed blood" - to teach you that anyone who worships idolatry is as if he sheds blood.
Tanya RabiBookmarkShareCopy

Sifra

5) (Vayikra 20:23) "And you shall not walk in the statutes of the nation" — the Egyptians. "which I am sending away before you" — the Canaanites. "For all of these they did": We are hereby apprised that the Canaanites were steeped in these things, and I am exiling them only because of these things, as a man who despises his food.
Tanya RabiBookmarkShareCopy