Yahweh said to Joshua, Don't be afraid because of them; for tomorrow at this time will I deliver them up all slain before Israel: you shall hamstring their horses, and burn their chariots with fire.
Now he took the whole land, and yet there were pockets of resistance that they did not take. There was a failure on their part to inhabit the whole territory that God had given to them. Now God has said, "Every place you put your foot, I have given it to you." One of the tragedies was the complete conquest of the land. For instance, the Jebusite city of Jerusalem was not taken by Joshua. In fact, it was not taken until the time of David. David took the city of Jerusalem, and hence it was called after that "The city of David." But we will read of other areas Gaza and Ashdod, so forth, that they did not take at that time. Yet they conquered not all the land. "