23:4 That remain - Not yet conquered. An inheritance - You shall certainly subdue them, and inherit their hand, as you have done the rest, if you be not wanting to yourselves. All the nations - That is, with the land of those nations; the people put for their land, as we have seen before; and as sometimes on the contrary, the land is put for the people. The great sea - Where the Philistines, your most formidable adversaries yet survive; but them also and their land I have given to you, and you shall undoubtedly destroy them, if you will proceed vigorously in your work.
23:1-10 Joshua was old and dying, let them observe what he said now. He put them in mind of the great things God had done for them in his days. He exhorted them to be very courageous. Keep with care, do with diligence, and regard with sincerity what is written. Also, very cautiously to endeavour that the heathen idolatry may be forgotten, so that it may never be revived. It is sad that among Christians the names of the heathen gods are so commonly used, and made so familiar as they are. Joshua exhorts them to be very constant. There might be many things amiss among them, but they had not forsaken the Lord their God; the way to make people better, is to make the best of them.