Leviticus 18:3

Ye shall not do after the doings of the land of Egypt, in which ye dwelt, and ye shall not do after the doings of the land of Canaan, where I bring you, nor shall ye walk in their statutes.

Exodus 23:24

Thou shall not bow down to their gods, nor serve them, nor do after their works, but thou shall utterly overthrow them, and break their pillars in pieces.

Leviticus 20:23

And ye shall not walk in the customs of the nation which I cast out before you, for they did all these things, and therefore I abhorred them.

Ezekiel 20:7-8

And I said to them, Cast ye away every man the abominations of his eyes, and do not defile yourselves with the idols of Egypt. I am LORD your God.

Deuteronomy 12:30-31

take heed to thyself that thou be not ensnared to follow them, after they are destroyed from before thee, and that thou not inquire after their gods, saying, How do these nations serve their gods? Even so I will do likewise.

Ezekiel 23:8

Neither has she left her whoredoms since Egypt. For in her youth they lay with her, and they handled the bosom of her virginity, and they poured out their whoredom upon her.

Leviticus 18:24-30

Do not defile ye yourselves in any of these things. For in all these the nations are defiled which I cast out from before you,

Deuteronomy 12:4

Ye shall not do so to LORD your God.

Psalm 106:35

but mingled themselves with the nations, and learned their works,

Jeremiah 10:2-3

Thus says LORD: Learn not the way of the nations, and be not dismayed at the signs of heaven, for the nations are dismayed at them.

Romans 12:2

And be not conformed to this age, but be ye transformed by the renewal of your mind, for ye to approve what is the good and acceptable and perfect will of God.

Ephesians 5:7-11

Do not become ye therefore partakers with them.

1 Peter 4:2-4

in order to live the remaining time in flesh, no longer by lusts of men, but by the will of God.

Treasury of Scripture Knowledge

Summary

After the doings of the land of Egypt, wherein ye dwelt, shall ye not do: and after the doings of the land of Canaan, whither I bring you, shall ye not do: neither shall ye walk in their ordinances.

Bible References

The doings

Psalm 106:35
but mingled themselves with the nations, and learned their works,
Ezekiel 20:7
And I said to them, Cast ye away every man the abominations of his eyes, and do not defile yourselves with the idols of Egypt. I am LORD your God.
Ezekiel 23:8
Neither has she left her whoredoms since Egypt. For in her youth they lay with her, and they handled the bosom of her virginity, and they poured out their whoredom upon her.
Ephesians 5:7
Do not become ye therefore partakers with them.
1 Peter 4:2
in order to live the remaining time in flesh, no longer by lusts of men, but by the will of God.

And after

Leviticus 20:23
And ye shall not walk in the customs of the nation which I cast out before you, for they did all these things, and therefore I abhorred them.
Exodus 23:24
Thou shall not bow down to their gods, nor serve them, nor do after their works, but thou shall utterly overthrow them, and break their pillars in pieces.
Deuteronomy 12:4
Ye shall not do so to LORD your God.
Jeremiah 10:2
Thus says LORD: Learn not the way of the nations, and be not dismayed at the signs of heaven, for the nations are dismayed at them.
Romans 12:2
And be not conformed to this age, but be ye transformed by the renewal of your mind, for ye to approve what is the good and acceptable and perfect will of God.