So Joshua took the whole land - All the country described here and in the preceding chapter. Besides the multitudes that perished in this war, many of the Canaanites took refuge in the confines of the land, and in the neighboring nations. Some suppose that a party of these fugitive Canaanites made themselves masters of Lower Egypt, and founded a dynasty there known by the name of the shepherd kings; but it is more probable that the shepherds occupied Egypt long before the time that Jacob went thither to sojourn. It is said they founded Tingris or Tangier, where, according to Procopius, they erected two white pillars with an inscription in the Phoenician language, of which this is the translation: We Are the Persons Who Have Fled from the Face of Joshua the Plunderer, the Son of Nave or Nun. See Bochart, Phaleg and Canaan, lib. i., c. xxiv., col. 476. Many, no doubt, settled in different parts of Africa, in Asia Minor, in Greece, and in the different islands of the Aegean and Mediterranean Sea: it is supposed also that colonies of this people were spread over different parts of Germany and Sclavonia, etc., but their descendants are now so confounded with the nations of the earth, as no longer to retain their original names, or to be discernible.
And Joshua gave it for an inheritance unto Israel - He claimed no peculiar jurisdiction over it; his own family had no peculiar share of it, and himself only the ruined city of Timnath-serah, in the tribe of Ephraim, which he was obliged to rebuild. See Joshua 19:49, Joshua 19:50, and see his character at the end of the book, Joshua 24:33; (note).
And the land rested from war - The whole territory being now conquered, which God designed the Israelites should possess at this time. According to the apostle, Hebrews 4:8, etc., Joshua himself was a type of Christ; the promised land, of the kingdom of heaven, the victories which he gained, of the victory and triumph of Christ; and the rest he procured for Israel, of the state of blessedness, at the right hand of God. In this light we should view the whole history, in order to derive those advantages from it which, as a portion of the revelation of God, it was intended to convey. Those who finally reign with Christ are they who, through his grace, conquer the world, the devil, and the flesh; for it is only of those who thus overcome that he says, "They shall sit with me on my throne, as I have overcome, and am set down with the Father on the Father's throne;" Revelation 3:21. Reader, art thou a conqueror?
These words import that Joshua had overcome all overt resistance. There were, however, many districts by no means thoroughly and finally subdued Joshua 13:1-6.