Leviticus 18:3

After the doings of the land of Egypt in which 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.

Exodus 23:24

Thou shalt not bow down to their gods, nor serve them, nor do after their works: but thou shalt utterly overthrow them, and quite break down their images.

Leviticus 20:23

And ye shall not walk in the manners of the nations which I cast out before you: for they committed all these things, and therefore I abhorred them.

Ezekiel 20:7-8

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

Deuteronomy 12:30-31

Take heed to thyself that thou be not snared by following them, after that they are destroyed from before thee; and that thou inquire not after their gods, saying, How did these nations serve their gods? even so will I do likewise.

Ezekiel 23:8

Neither left she her lewd deeds brought from Egypt: for in her youth they lay with her, and they first corrupted her, and poured their impurities upon her.

Leviticus 18:24-30

Defile not ye yourselves in any of these things; for in all these the nations are defiled which I cast out before you:

Deuteronomy 12:4

Ye shall not do so to the LORD your God.

Psalm 106:35

But were mingled among the heathen, and learned their works.

Jeremiah 10:2-3

Thus saith the LORD, Learn not the way of the heathen, and be not dismayed at the signs of heaven; for the heathen are dismayed at them.

Romans 12:2

And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good and acceptable, and perfect will of God.

Ephesians 5:7-11

Be ye not therefore partakers with them.

1 Peter 4:2-4

That he no longer should live the rest of his time in the flesh to the lusts of men, but to 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 were mingled among the heathen, and learned their works.
Ezekiel 20:7
Then said I to them, Cast ye away every man the abominations of his eyes, and defile not yourselves with the idols of Egypt: I am the LORD your God.
Ezekiel 23:8
Neither left she her lewd deeds brought from Egypt: for in her youth they lay with her, and they first corrupted her, and poured their impurities upon her.
Ephesians 5:7
Be ye not therefore partakers with them.
1 Peter 4:2
That he no longer should live the rest of his time in the flesh to the lusts of men, but to the will of God.

And after

Leviticus 20:23
And ye shall not walk in the manners of the nations which I cast out before you: for they committed all these things, and therefore I abhorred them.
Exodus 23:24
Thou shalt not bow down to their gods, nor serve them, nor do after their works: but thou shalt utterly overthrow them, and quite break down their images.
Deuteronomy 12:4
Ye shall not do so to the LORD your God.
Jeremiah 10:2
Thus saith the LORD, Learn not the way of the heathen, and be not dismayed at the signs of heaven; for the heathen are dismayed at them.
Romans 12:2
And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good and acceptable, and perfect will of God.