Leviticus 18:3

You may not do those things which were done in the land of Egypt where you were living; and you may not do those things which are done in the land of Canaan where I am taking you, or be guided in your behaviour by their rules.

Exodus 23:24

Do not go down on your faces and give worship to their gods, or do as they do; but overcome them completely, and let their pillars be broken down.

Leviticus 20:23

And do not keep the rules of the nations which I am driving out before you; for they did all these things, and for that reason my soul was turned against them.

Ezekiel 20:7-8

And I said to them, Let every man among you put away the disgusting things to which his eyes are turned, and do not make yourselves unclean with the images of Egypt; I am the Lord your God.

Deuteronomy 12:30-31

After their destruction take care that you do not go in their ways, and that you do not give thought to their gods, saying, How did these nations give worship to their gods? I will do as they did.

Ezekiel 23:8

And she has not given up her loose ways from the time when she was in Egypt; for when she was young they were her lovers, and by them her young breasts were crushed, and they let loose on her their unclean desire.

Leviticus 18:24-30

Do not make yourself unclean in any of these ways; for so have those nations whom I am driving out from before you made themselves unclean:

Deuteronomy 12:4

Do not so to the Lord your God.

Psalm 106:35

But they were joined to the nations, learning their works.

Jeremiah 10:2-3

This is what the Lord has said: Do not go in the way of the nations; have no fear of the signs of heaven, for the nations go in fear of them.

Romans 12:2

And let not your behaviour be like that of this world, but be changed and made new in mind, so that by experience you may have knowledge of the good and pleasing and complete purpose of God.

Ephesians 5:7-11

Have no part with such men;

1 Peter 4:2-4

So that you may give the rest of your lives in the flesh, not to the desires of men, but to the purpose 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 were joined to the nations, learning their works.
Ezekiel 20:7
And I said to them, Let every man among you put away the disgusting things to which his eyes are turned, and do not make yourselves unclean with the images of Egypt; I am the Lord your God.
Ezekiel 23:8
And she has not given up her loose ways from the time when she was in Egypt; for when she was young they were her lovers, and by them her young breasts were crushed, and they let loose on her their unclean desire.
Ephesians 5:7
Have no part with such men;
1 Peter 4:2
So that you may give the rest of your lives in the flesh, not to the desires of men, but to the purpose of God.

And after

Leviticus 20:23
And do not keep the rules of the nations which I am driving out before you; for they did all these things, and for that reason my soul was turned against them.
Exodus 23:24
Do not go down on your faces and give worship to their gods, or do as they do; but overcome them completely, and let their pillars be broken down.
Deuteronomy 12:4
Do not so to the Lord your God.
Jeremiah 10:2
This is what the Lord has said: Do not go in the way of the nations; have no fear of the signs of heaven, for the nations go in fear of them.
Romans 12:2
And let not your behaviour be like that of this world, but be changed and made new in mind, so that by experience you may have knowledge of the good and pleasing and complete purpose of God.

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain