Joshua 11:11-12

11And they struck with the sword all who were in it, devoting them to destruction;
That is, setting apart ( devoting) as an offering to the Lord (for destruction); also verses 12, 20, 21
bthere was none left that breathed. And he burned Hazor with fire.
12And all the cities of those kings, and all their kings, Joshua captured, and struck them with the edge of the sword, devoting them to destruction, cjust as Moses the servant of the Lord had commanded.

Joshua 23:7

7 dthat you may not mix with these nations remaining among you eor make mention of the names of their gods for swear by them or serve them or bow down 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