Deuteronomy 12:30

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

Deuteronomy 7:16

And you shall consume all the people whom the LORD your God shall deliver you; your eye shall have no pity upon them: neither shall you serve their gods; for that will be a snare unto you.

Exodus 23:31-33

And I will set your bounds from the Red sea even unto the sea of the Philistines, and from the desert unto the river: for I will deliver the inhabitants of the land into your hand; and you shall drive them out before you.

Leviticus 18:3

According to the practices in the land of Egypt, wherein you dwelt, shall you not do: and according to the practices of the land of Canaan, where I bring you, shall you not do: neither shall you walk in their ordinances.

Numbers 33:52

Then you shall drive out all the inhabitants of the land from before you, and destroy all their engraved stones, and destroy all their molten images, and demolish all their high places:

Judges 2:2-3

And you shall make no covenant with the inhabitants of this land; you shall throw down their altars: but you have not obeyed my voice: why have you done this?

2 Kings 17:15

And they rejected his statutes, and his covenant that he made with their fathers, and his testimonies which he testified against them; and they followed vanity, and became vain, and went after the nations that were round about them, concerning whom the LORD had charged them, that they should not do like them.

Psalm 106:34-38

They did not destroy the nations, concerning whom the LORD commanded them:

Jeremiah 10:2

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

Ezekiel 20:28

For when I had brought them into the land, for I lifted up my hand to give it to them, then they saw every high hill, and all the thick trees, and they offered there their sacrifices, and there they presented the provocation of their offering: there also they made their sweet aroma, and poured out there their drink offerings.

Ezekiel 20:32

And that which comes into your mind shall not be at all, that you say, We will be as the Gentiles, as the families of the countries, to serve wood and stone.

Romans 12:2

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

Ephesians 4:17

This I say therefore, and testify in the Lord, that you no longer walk as other Gentiles walk, in the vanity of their mind,

1 Peter 4:3-4

For the time past of our life will suffice us to have done the will of the Gentiles, when we walked in licentiousness, lusts, excess of wine, reveling, carousing, and abominable idolatries:

Treasury of Scripture Knowledge

Summary

Take heed to thyself that thou be not snared by following them, after that they be 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.

Bible References

That thou

Deuteronomy 7:16
And you shall consume all the people whom the LORD your God shall deliver you; your eye shall have no pity upon them: neither shall you serve their gods; for that will be a snare unto you.
Exodus 23:31
And I will set your bounds from the Red sea even unto the sea of the Philistines, and from the desert unto the river: for I will deliver the inhabitants of the land into your hand; and you shall drive them out before you.
Leviticus 18:3
According to the practices in the land of Egypt, wherein you dwelt, shall you not do: and according to the practices of the land of Canaan, where I bring you, shall you not do: neither shall you walk in their ordinances.
Numbers 33:52
Then you shall drive out all the inhabitants of the land from before you, and destroy all their engraved stones, and destroy all their molten images, and demolish all their high places:
Judges 2:2
And you shall make no covenant with the inhabitants of this land; you shall throw down their altars: but you have not obeyed my voice: why have you done this?
2 Kings 17:15
And they rejected his statutes, and his covenant that he made with their fathers, and his testimonies which he testified against them; and they followed vanity, and became vain, and went after the nations that were round about them, concerning whom the LORD had charged them, that they should not do like them.
Psalm 106:34
They did not destroy the nations, concerning whom the LORD commanded them:
Ezekiel 20:28
For when I had brought them into the land, for I lifted up my hand to give it to them, then they saw every high hill, and all the thick trees, and they offered there their sacrifices, and there they presented the provocation of their offering: there also they made their sweet aroma, and poured out there their drink offerings.

How did

Jeremiah 10:2
Thus says the LORD, Learn not the way of the nations, and be not dismayed at the signs of heaven; for the nations are dismayed at them.
Ezekiel 20:32
And that which comes into your mind shall not be at all, that you say, We will be as the Gentiles, as the families of the countries, to serve wood and stone.
Romans 12:2
And be not conformed to this world: but be transformed by the renewing of your mind, that you may prove what is that good, and acceptable, and perfect, will of God.
Ephesians 4:17
This I say therefore, and testify in the Lord, that you no longer walk as other Gentiles walk, in the vanity of their mind,
1 Peter 4:3
For the time past of our life will suffice us to have done the will of the Gentiles, when we walked in licentiousness, lusts, excess of wine, reveling, carousing, and abominable idolatries:

General references

Numbers 33:52
Then you shall drive out all the inhabitants of the land from before you, and destroy all their engraved stones, and destroy all their molten images, and demolish all their high places:
Deuteronomy 12:4
You shall not do so unto the LORD your God.
Deuteronomy 18:9
When you are come into the land which the LORD your God gives you, you shall not learn to do after the abominations of those nations.
Deuteronomy 20:18
That they teach you not to do according to all their abominations, which they have done unto their gods; so that you should sin against the LORD your God.