It happened, when all the kings who were beyond the Jordan, in the hill-country, and in the lowland, and on all the shore of the great sea in front of Lebanon, the Hittite, and the Amorite, the Canaanite, the Perizzite, the Hivite, and the Jebusite, heard of it;
This chapter further reveals what is increasingly evident, that Joshua, like the entire Pentateuch, is in no sense a chronological account of all that Israel did.  The Book of Joshua does not give us a thorough, item-by-item account of the conquest of Canaan, but, on the other hand, it relates the events which are pertinent to the redemptive purpose of God. Although Israel did indeed CONQUER all of Canaan, they did NOT drive out all of the Canaanites as God had commanded them, and this chapter relates primarily to that failure on Israel's part.