Deuteronomy 12:30

be careful not to be ensnared by their ways after they have been destroyed before you. Do not inquire about their gods, asking, ‘How did these nations worship their gods? I’ll also do the same.’

Deuteronomy 7:16

You must destroy all the peoples the Lord your God is delivering over to you and not look on them with pity. Do not worship their gods, for that will be a snare to you.

Exodus 23:31-33

I will set your borders from the Red Sea to the Mediterranean Sea, and from the wilderness to the Euphrates River. For I will place the inhabitants of the land under your control, and you will drive them out ahead of you.

Leviticus 18:3

Do not follow the practices of the land of Egypt, where you used to live, or follow the practices of the land of Canaan, where I am bringing you. You must not follow their customs.

Numbers 33:52

you must drive out all the inhabitants of the land before you, destroy all their stone images and cast images, and demolish all their high places.

Judges 2:2-3

You are not to make a covenant with the people who are living in this land, and you are to tear down their altars. But you have not obeyed Me. What is this you have done?

2 Kings 17:15

They rejected His statutes and His covenant He had made with their ancestors and the decrees He had given them. They pursued worthless idols and became worthless themselves, following the surrounding nations the Lord had commanded them not to imitate.

Psalm 106:34-38

They did not destroy the peoples
as the Lord had commanded them

Jeremiah 10:2

This is what the Lord says:

Do not learn the way of the nations
or be terrified by signs in the heavens,
although the nations are terrified by them,

Ezekiel 20:28

When I brought them into the land that I swore to give them and they saw any high hill or leafy tree, they offered their sacrifices and presented their offensive offerings there. They also sent up their pleasing aromas and poured out their drink offerings there.

Ezekiel 20:32

“When you say, ‘Let us be like the nations, like the peoples of other countries, worshiping wood and stone,’ what you have in mind will never happen.

Romans 12:2

Do not be conformed to this age, but be transformed by the renewing of your mind, so that you may discern what is the good, pleasing, and perfect will of God.

Ephesians 4:17

Therefore, I say this and testify in the Lord: You should no longer walk as the Gentiles walk, in the futility of their thoughts.

1 Peter 4:3-4

For there has already been enough time spent in doing what the pagans choose to do: carrying on in unrestrained behavior, evil desires, drunkenness, orgies, carousing, and lawless idolatry.

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
You must destroy all the peoples the Lord your God is delivering over to you and not look on them with pity. Do not worship their gods, for that will be a snare to you.
Exodus 23:31
I will set your borders from the Red Sea to the Mediterranean Sea, and from the wilderness to the Euphrates River. For I will place the inhabitants of the land under your control, and you will drive them out ahead of you.
Leviticus 18:3
Do not follow the practices of the land of Egypt, where you used to live, or follow the practices of the land of Canaan, where I am bringing you. You must not follow their customs.
Numbers 33:52
you must drive out all the inhabitants of the land before you, destroy all their stone images and cast images, and demolish all their high places.
Judges 2:2
You are not to make a covenant with the people who are living in this land, and you are to tear down their altars. But you have not obeyed Me. What is this you have done?
2 Kings 17:15
They rejected His statutes and His covenant He had made with their ancestors and the decrees He had given them. They pursued worthless idols and became worthless themselves, following the surrounding nations the Lord had commanded them not to imitate.
Psalm 106:34
They did not destroy the peoples
as the Lord had commanded them
Ezekiel 20:28
When I brought them into the land that I swore to give them and they saw any high hill or leafy tree, they offered their sacrifices and presented their offensive offerings there. They also sent up their pleasing aromas and poured out their drink offerings there.

How did

Jeremiah 10:2
This is what the Lord says:

Do not learn the way of the nations
or be terrified by signs in the heavens,
although the nations are terrified by them,
Ezekiel 20:32
“When you say, ‘Let us be like the nations, like the peoples of other countries, worshiping wood and stone,’ what you have in mind will never happen.
Romans 12:2
Do not be conformed to this age, but be transformed by the renewing of your mind, so that you may discern what is the good, pleasing, and perfect will of God.
Ephesians 4:17
Therefore, I say this and testify in the Lord: You should no longer walk as the Gentiles walk, in the futility of their thoughts.
1 Peter 4:3
For there has already been enough time spent in doing what the pagans choose to do: carrying on in unrestrained behavior, evil desires, drunkenness, orgies, carousing, and lawless idolatry.

General references

Numbers 33:52
you must drive out all the inhabitants of the land before you, destroy all their stone images and cast images, and demolish all their high places.
Deuteronomy 12:4
Don’t worship the Lord your God this way.
Deuteronomy 18:9
“When you enter the land the Lord your God is giving you, do not imitate the detestable customs of those nations.
Deuteronomy 20:18
so that they won’t teach you to do all the detestable things they do for their gods, and you sin against the Lord your God.

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.