Joshua made war a long time with all those kings.
The major war with the Canaanites ended (Joshua 11:23), but minor battles and mopping up operations were still necessary. Not only did the Israelites obtain the land, but they defeated the Canaanite kings and broke their power. Jensen considered Joshua 11:23 the key verse of the book. [Note: Jensen, p. 17.] 