Leviticus 18:3

according to the work of the land of Egypt in which ye have dwelt ye do not, and according to the work of the land of Canaan whither I am bringing you in, ye do not, and in their statutes ye walk not.

Exodus 23:24

'Thou dost not bow thyself to their gods, nor serve them, nor do according to their doings, but dost utterly devote them, and thoroughly break their standing pillars.

Leviticus 20:23

and ye walk not in the statutes of the nation which I am sending away from before you, for all these they have done, and I am wearied with them;

Ezekiel 20:7-8

And I say unto them, Let each cast away the detestable things of his eyes, And with the idols of Egypt be not defiled, I am Jehovah your God.

Deuteronomy 12:30-31

take heed to thee, lest thou be snared after them, after their being destroyed out of thy presence, and lest thou enquire about their gods, saying, How do these nations serve their gods, and I do so -- even I?

Ezekiel 23:8

And her whoredoms out of Egypt she hath not forsaken, For with her they lay in her youth, And they dealt with the loves of her virginity, And they pour out their whoredoms on her.

Leviticus 18:24-30

'Ye are not defiled with all these, for with all these have the nations been defiled which I am sending away from before you;

Deuteronomy 12:4

'Ye do not do so to Jehovah your God;

Psalm 106:35

And mix themselves among nations, and learn their works,

Jeremiah 10:2-3

Thus said Jehovah: Unto the way of the nations accustom not yourselves, And by the signs of the heavens be not affrighted, For the nations are affrighted by them.

Romans 12:2

and be not conformed to this age, but be transformed by the renewing of your mind, for your proving what is the will of God -- the good, and acceptable, and perfect.

Ephesians 5:7-11

become not, then, partakers with them,

1 Peter 4:2-4

no more in the desires of men, but in the will of God, to live the rest of the time in the flesh;

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
And mix themselves among nations, and learn their works,
Ezekiel 20:7
And I say unto them, Let each cast away the detestable things of his eyes, And with the idols of Egypt be not defiled, I am Jehovah your God.
Ezekiel 23:8
And her whoredoms out of Egypt she hath not forsaken, For with her they lay in her youth, And they dealt with the loves of her virginity, And they pour out their whoredoms on her.
Ephesians 5:7
become not, then, partakers with them,
1 Peter 4:2
no more in the desires of men, but in the will of God, to live the rest of the time in the flesh;

And after

Leviticus 20:23
and ye walk not in the statutes of the nation which I am sending away from before you, for all these they have done, and I am wearied with them;
Exodus 23:24
'Thou dost not bow thyself to their gods, nor serve them, nor do according to their doings, but dost utterly devote them, and thoroughly break their standing pillars.
Deuteronomy 12:4
'Ye do not do so to Jehovah your God;
Jeremiah 10:2
Thus said Jehovah: Unto the way of the nations accustom not yourselves, And by the signs of the heavens be not affrighted, For the nations are affrighted by them.
Romans 12:2
and be not conformed to this age, but be transformed by the renewing of your mind, for your proving what is the will of God -- the good, and acceptable, and perfect.