Leviticus 18:3

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 statutes.

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 break in pieces their pillars.

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 unto them, Cast ye away every man the abominations of his eyes, and defile not yourselves with the idols of Egypt; I am Jehovah your God.

Deuteronomy 12:30-31

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

Ezekiel 23:8

Neither hath she left her whoredoms since the days of 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

Defile not 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 unto Jehovah your God.

Psalm 106:35

But mingled themselves with the nations, And learned their works,

Jeremiah 10:2-3

thus saith Jehovah, 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 fashioned according to this world: but be ye transformed by the renewing of your mind, and ye may prove what is the good and acceptable and perfect will of God.

Ephesians 5:7-11

Be not ye therefore partakers with them;

1 Peter 4:2-4

that ye no longer should live the rest of your time in 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 mingled themselves with the nations, And learned their works,
Ezekiel 20:7
And I said unto them, Cast ye away every man the abominations of his eyes, and defile not yourselves with the idols of Egypt; I am Jehovah your God.
Ezekiel 23:8
Neither hath she left her whoredoms since the days of 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
Be not ye therefore partakers with them;
1 Peter 4:2
that ye no longer should live the rest of your time in flesh to the lusts of men, but to 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 shalt not bow down to their gods, nor serve them, nor do after their works; but thou shalt utterly overthrow them, and break in pieces their pillars.
Deuteronomy 12:4
Ye shall not do so unto Jehovah your God.
Jeremiah 10:2
thus saith Jehovah, 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 fashioned according to this world: but be ye transformed by the renewing of your mind, and ye may prove what is the good and acceptable and perfect will of God.

American Standard Version Public Domain