Exodus 23:32-33

32 aYou shall make no covenant with them and their gods. 33They shall not dwell in your land, lest they make you sin against me; for if you serve their gods, bit will surely be a snare to you.”

Deuteronomy 7:2

2 cand when the Lord your God gives them over to you, and you defeat them, then you must ddevote them to complete destruction.
That is, set apart ( devote) as an offering to the Lord (for destruction)
fYou shall make no covenant with them and show no mercy to them.

Judges 2:2

2 gand you shall make no covenant with the inhabitants of this land; hyou shall break down their altars.’ But you have not obeyed my voice. What is this you have done?
Copyright information for ESV