Leviticus 18:3

You must not {carry out} the practices of the land of Egypt, in which you lived, and you must not {carry out} the practices of the land of Canaan, to which I am bringing you; and you must not follow their statutes.

Exodus 23:24

" 'You will not bow to their gods, and you will not serve them, and you will not act according to their actions, because you will utterly demolish them, and you will utterly break their stone pillars.

Leviticus 20:23

And you shall not follow the statutes of the nation that I am driving out {from before you}, because they did all these things, and I detested them.

Ezekiel 20:7-8

Then I said to them, '[Let] each [one] throw away the detestable things of his eyes, and you must not make yourselves unclean with the idols of Egypt! I [am] Yahweh your God.'

Deuteronomy 12:30-31

{take care} so that you are not ensnared {into imitating them} after their being destroyed from {before you}, and so that you not enquire concerning their gods, {saying}, 'How did these nations serve their gods, and [thus] {I myself} want to do also.'

Ezekiel 23:8

And her whorings from [the time of] Egypt she [did] not abandon, for they slept with her in her childhood, and they caressed the bosoms of her virginity, and they poured out their fornication on her.

Leviticus 18:24-30

" 'You must not make yourself unclean in any of these [things], because the nations whom I am driving out from your presence were made unclean by all of these.

Deuteronomy 12:4

You shall not worship Yahweh your God like this.

Psalm 106:35

but they mingled with the nations and learned their works,

Jeremiah 10:2-3

Thus says Yahweh: "You must not learn the way of the nations, and you must not be dismayed by the signs of the heavens, for the nations are dismayed by them.

Romans 12:2

And do not be conformed to this age, but be transformed by the renewal of your mind, so that you may approve what [is] the good and well-pleasing and perfect will of God.

Ephesians 5:7-11

Therefore do not be sharers with them,

1 Peter 4:2-4

in order to live the remaining time in the flesh no longer for human desires, but for 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 they mingled with the nations and learned their works,
Ezekiel 20:7
Then I said to them, '[Let] each [one] throw away the detestable things of his eyes, and you must not make yourselves unclean with the idols of Egypt! I [am] Yahweh your God.'
Ezekiel 23:8
And her whorings from [the time of] Egypt she [did] not abandon, for they slept with her in her childhood, and they caressed the bosoms of her virginity, and they poured out their fornication on her.
Ephesians 5:7
Therefore do not be sharers with them,
1 Peter 4:2
in order to live the remaining time in the flesh no longer for human desires, but for the will of God.

And after

Leviticus 20:23
And you shall not follow the statutes of the nation that I am driving out {from before you}, because they did all these things, and I detested them.
Exodus 23:24
" 'You will not bow to their gods, and you will not serve them, and you will not act according to their actions, because you will utterly demolish them, and you will utterly break their stone pillars.
Deuteronomy 12:4
You shall not worship Yahweh your God like this.
Jeremiah 10:2
Thus says Yahweh: "You must not learn the way of the nations, and you must not be dismayed by the signs of the heavens, for the nations are dismayed by them.
Romans 12:2
And do not be conformed to this age, but be transformed by the renewal of your mind, so that you may approve what [is] the good and well-pleasing and perfect will of God.