"When the Lord your God brings you into the land which you go to possess, and has cast out many nations before you, the Hittites and the Girgashites and the Amorites and the Canaanites and the Perizzites and the Hivites and the Jebusites, seven nations greater and mightier than you,
and when the Lord your God delivers them over to you, you shall conquer them and utterly destroy them. You shall make no covenant with them nor show mercy to them.
Nor shall you make marriages with them. You shall not give your daughter to their son, nor take their daughter for your son.
For they will turn your sons away from following Me, to serve other gods; so the anger of the Lord will be aroused against you and destroy you suddenly.
But thus you shall deal with them: you shall destroy their altars, and break down their sacred pillars, and cut down their wooden images, and burn their carved images with fire.
References for Deuteronomy 7:5
"For you are a holy people to the Lord your God; the Lord your God has chosen you to be a people for Himself, a special treasure above all the peoples on the face of the earth.
The Lord did not set His love on you nor choose you because you were more in number than any other people, for you were the least of all peoples;
but because the Lord loves you, and because He would keep the oath which He swore to your fathers, the Lord has brought you out with a mighty hand, and redeemed you from the house of bondage, from the hand of Pharaoh king of Egypt.
Therefore know that the Lord your God, He is God, the faithful God who keeps covenant and mercy for a thousand generations with those who love Him and keep His commandments;
and He repays those who hate Him to their face, to destroy them. He will not be slack with him who hates Him; He will repay him to his face.
Therefore you shall keep the commandment, the statutes, and the judgments which I command you today, to observe them.
"Then it shall come to pass, because you listen to these judgments, and keep and do them, that the Lord your God will keep with you the covenant and the mercy which He swore to your fathers.
And He will love you and bless you and multiply you; He will also bless the fruit of your womb and the fruit of your land, your grain and your new wine and your oil, the increase of your cattle and the offspring of your flock, in the land of which He swore to your fathers to give you.
You shall be blessed above all peoples; there shall not be a male or female barren among you or among your livestock.
And the Lord will take away from you all sickness, and will afflict you with none of the terrible diseases of Egypt which you have known, but will lay them on all those who hate you.
And you shall destroy all the peoples whom the Lord your God delivers over to you; your eye shall have no pity on them; nor shall you serve their gods, for that will be a snare to you.
"If you should say in your heart, 'These nations are greater than I; how can I dispossess them?'--
you shall not be afraid of them, but you shall remember well what the Lord your God did to Pharaoh and to all Egypt:
the great trials which your eyes saw, the signs and the wonders, the mighty hand and the outstretched arm, by which the Lord your God brought you out. So shall the Lord your God do to all the peoples of whom you are afraid.
Moreover the Lord your God will send the hornet among them until those who are left, who hide themselves from you, are destroyed.
You shall not be terrified of them; for the Lord your God, the great and awesome God, is among you.
And the Lord your God will drive out those nations before you little by little; you will be unable to destroy them at once, lest the beasts of the field become too numerous for you.
But the Lord your God will deliver them over to you, and will inflict defeat upon them until they are destroyed.
And He will deliver their kings into your hand, and you will destroy their name from under heaven; no one shall be able to stand against you until you have destroyed them.
You shall burn the carved images of their gods with fire; you shall not covet the silver or gold that is on them, nor take it for yourselves, lest you be snared by it; for it is an abomination to the Lord your God.
Nor shall you bring an abomination into your house, lest you be doomed to destruction like it. You shall utterly detest it and utterly abhor it, for it is an accursed thing.