18 Many days hath Joshua made with all these kings war; 19 there hath not been a city which made peace with the sons of Israel save the Hivite, inhabitants of Gibeon; the whole they have taken in battle; 20 for from Jehovah it hath been to strengthen their heart, to meet in battle with Israel, in order to devote them, so that they have no grace, but in order to destroy them, as Jehovah commanded Moses. 21 And Joshua cometh at that time, and cutteth off the Anakim from the hill-country, from Hebron, from Debir, from Anab, even from all the hill-country of Judah, and from all the hill-country of Israel; with their cities hath Joshua devoted them. 22 There hath not been left Anakim in the land of the sons of Israel; only in Gaza, in Gath, and in Ashdod, were they left. 23 And Joshua taketh the whole of the land, according to all that Jehovah hath spoken unto Moses, and Joshua giveth it for an inheritance to Israel according to their divisions, by their tribes; and the land hath rest from war.
Matthew Henry's Commentary on Joshua 11:18-23
Commentary on Joshua 11:15-23
(Read Joshua 11:15-23)
Never let the sons of Anak be a terror to the Israel of God, for their day to fall will come. The land rested from war. It ended not in a peace with the Canaanites, that was forbidden, but in a peace from them. There is a rest, a rest from war, remaining for the people of God, into which they shall enter, when their warfare is accomplished. That which was now done, is compared with what had been said to Moses. God's word and his works, if viewed together, will be found mutually to set each other forth. If we make conscience of our duty, we need not question the performance of the promise. But the believer must never put off his armour, or expect lasting peace, till he closes his eyes in death; nay, as his strength and usefulness increase, he may expect more heavy trials; yet the Lord will not permit any enemies to assault the believer till he has prepared him for the battle. Christ Jesus ever lives to plead for his people, and their faith shall not fail, however Satan may be permitted to assault them. And however tedious, sharp, and difficult the believer's warfare, his patience in tribulation may be encouraged by the joyfulness of hope; for he will, ere long, rest from sin and from sorrow in the Canaan above.