and when the Lord your God gives them over to you and you defeat them, then you must utterly destroy them. Make no covenant with them and show them no mercy.
So the king called the Gibeonites and spoke to them. (Now the Gibeonites were not of the people of Israel but of the remnant of the Amorites; although the people of Israel had sworn to spare them, Saul had tried to wipe them out in his zeal for the people of Israel and Judah.)
Ben-hadad said to him, “I will restore the towns that my father took from your father, and you may establish bazaars for yourself in Damascus, as my father did in Samaria.” The king of Israel responded, “I will let you go on those terms.” So he made a treaty with him and let him go.
So now let us make a covenant with our God to send away all these wives and their children, according to the counsel of my lord and of those who tremble at the commandment of our God, and let it be done according to the law.
you shall drive out all the inhabitants of the land from before you, destroy all their figured stones, destroy all their cast images, and demolish all their high places.
Because the Lord your God travels along with your camp, to save you and to hand over your enemies to you, therefore your camp must be holy, so that he may not see anything indecent among you and turn away from you.
You shall devour all the peoples that the Lord your God is giving over to you, showing them no pity; you shall not serve their gods, for that would be a snare to you.
Know, then, today that the Lord your God is the one who crosses over before you as a devouring fire; he will defeat them and subdue them before you, so that you may dispossess and destroy them quickly, as the Lord has promised you.
Joshua took Makkedah on that day and struck it and its king with the edge of the sword; he utterly destroyed every person in it; he left no one remaining. And he did to the king of Makkedah as he had done to the king of Jericho.
The Lord gave it also and its king into the hand of Israel, and he struck it with the edge of the sword, and every person in it; he left no one remaining in it, and he did to its king as he had done to the king of Jericho.
The Lord gave Lachish into the hand of Israel, and he took it on the second day and struck it with the edge of the sword, and every person in it, as he had done to Libnah.
So Joshua defeated the whole land, the hill country and the Negeb and the lowland and the slopes and all their kings; he left no one remaining but utterly destroyed all that breathed, as the Lord God of Israel had commanded.
And the Lord handed them over to Israel, who attacked them and chased them as far as Great Sidon and Misrephoth-maim and eastward as far as the valley of Mizpeh. They struck them down until they had left no one remaining.
The men said to her, “Our life for yours! If you do not tell this business of ours, then we will deal kindly and faithfully with you when the Lord gives us the land.”
And the Lord gave them rest on every side, just as he had sworn to their ancestors; not one of all their enemies had withstood them, for the Lord had given all their enemies into their hands.
When Israel had finished killing all the inhabitants of Ai in the open wilderness where they pursued them, and when all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai and attacked it with the edge of the sword.
They answered Joshua, “Because it was told to your servants for a certainty that the Lord your God had commanded his servant Moses to give you all the land and to destroy all the inhabitants of the land before you, so we were in great fear for our lives because of you and did this thing.
For your part, do not make a covenant with the inhabitants of this land; tear down their altars.’ But you have not obeyed my command. See what you have done!