"It will come about that all of the survivors of the nations who came against Jerusalem will come there from year to year to worship the King, the LORD of the Heavenly Armies, and to observe the Festival of Tents.
"Gather together and come; draw near and enter, your fugitives from the nations. Those who carry around their wooden idols know nothing, nor do those who keep praying to a god that cannot save.
"I will put up signs among them, and from them I will send survivors to the nations to Tarshish, Libya, and Lydia, (who draw the bow), to Tubal and Greece, to the far off coastlands that have not heard of my fame or seen my glory. Then they will proclaim my glory among the nations.
because if you ever turn back and cling to those who remain of these nations by intermarrying with them and associating one with another,
"In all the places where the people remain, where I've banished them, death will be chosen over life by all the remnant that remains of this evil family," declares the LORD of the Heavenly Armies.
Now the Valley of Siddim was full of tar pits, so when the kings of Sodom and Gomorrah fled, some of their people fell into them, while the rest fled to the hill country.
Then the survivors approached the nobles; the people of the LORD approached me in battle array.
"After all that has happened to us because of our evil behavior, and because of our great sin considering that you our God have punished us less than our iniquities deserve and have given us this deliverance
LORD God of Israel, you are just: As a result, we remain here today delivered. Look at us! Because of our sin, we cannot stand in your presence as a result of everything that has happened."
None of the Anakim remained in the land belonging to the Israelis they remained only in Gaza, in Gath, and in Ashdod.
Now it came about that after Joshua and the Israelis had finished the battle, destroying and scattering their survivors, who retreated into their fortified cities,
So the LORD caused those nations to remain and did not expel them quickly. He did not give them into Joshua's control.
Here's a list of nations that the LORD caused to remain in order to test Israel (that is, everyone who had not gained any battle experience in Canaan)
Now Zebah and Zalmunna were in Karkor, along with their armies, about 15,000 men who survived from the entire army of the group from the east, since 120,000 swordsmen had already fallen.
all the various people; all the kings of the land of Uz, all the kings of the land of the Philistines, Ashkelon, Gaza, Ekron, and what remains of Ashdod;