Verse 1
Joshua 23:1, Joshua 23:2. Joshua‘s exhortation before his death.
a long time after that the Lord had given rest unto Israel from all their enemies — about fourteen years after the conquest of Canaan, and seven after the distribution of that country among the tribes.
Verse 2
Joshua called for all Israel — The clause which follows seems to restrict this general expression as applicable only to the officers and representatives of the people. The place of assembly was most probably Shiloh. The occasion of convening it was the extreme age and approaching death of the venerable leader; and the purport of this solemn address was to animate the chosen people and their posterity to a faithful and unswerving continuance in the faith and worship of the God of Israel.
Verse 3
Joshua 23:3. By former benefits.
ye have seen all that the Lord your God hath done unto all these nations because of you — The modesty and humility of Joshua are remarkably displayed at the commencement of this address. Dismissing all thoughts of his personal services, he ascribed the subjugation and occupation of Canaan entirely to the favoring presence and aid of God; and in doing so, he spoke not more piously than truly. This had been promised (Deuteronomy 1:30; Deuteronomy 3:22); and the reality of the divine aid was seen in the rapid overthrow of the Canaanites, which had already led to the division of the whole land among the tribes [Joshua 23:4 ].
Verses 5-11
Joshua 23:5-11. By promises.
the Lord your God, he shall expel them from before you, as the Lord your God hath promised you, etc. — The actual possessions which God had given were a pledge of the complete fulfillment of His promise in giving them the parts of the country still unconquered. But the accomplishment of the divine promise depended on their inviolable fidelity to God‘s law - on their keeping resolutely aloof from all familiar intercourse and intimate connections with the Canaanites, or in any way partaking of their idolatrous sins. In the event of their continuing in steadfast adherence to the cause of God, as happily distinguished the nation at that time, His blessing would secure them a course of brilliant and easy victories (Leviticus 26:7; Deuteronomy 28:7; Deuteronomy 32:30).
Verse 11
Take good heed, therefore, that ye love the Lord your God — The sum of his exhortation is comprised in the love of God, which is the end or fulfillment of the law (Deuteronomy 6:5; Deuteronomy 11:13; Matthew 22:37).
Verse 12-13
Joshua 23:12. By threatenings in case of disobedience.
Else if ye do in any wise go back, and cleave unto the remnant of these nations — As marriage connections with the idolatrous Canaanites would present many and strong temptations to transgress it, these were strictly prohibited (Exodus 34:12-16; Deuteronomy 7:3). With his eye, as it were, upon those prohibitions, Joshua threatens them with the certain withdrawal of the divine aid in the further expulsion of the Canaanites (a threat founded Exodus 23:33; Numbers 33:55; Deuteronomy 7:16).