Bible Notes Online - Joshua 23 - ESV
Commentary

v1-5: It is around 20-25 years later (Joshua was 110, (24.29); in 14.12, Caleb, and presumably Joshua also was 85), that Joshua gathered the people together for his farewell speech/sermon. Moses and Samuel gave similar presentations to the people before they died.

Joshua reminded the people of the might works God had done to the nations for their sake; and that the promised land was now divided up amongst the tribes. The fact that they lived in the land was proof enough of God's power and grace to them.

Even so, there remained some Canaanites within the land, and these had to be expelled.

v6-8: The encouragement of 1.6-8 was passed on. The principles of faith and obedience remained essential. There is no situation where these are no longer required.

The people had particularly to avoid associating with the nations remaining amongst them, as that would lead to idolatry. They were not even to name their gods (compare Eph 5.12).

The key difference here is that Joshua had no single leader to hand over to. He gives the responsibility to obey to all the people.

v9-10: Past victories could be repeated. This was important, as victory did not depend on Joshua, but on the Lord God.

v11: The people were not chosen by God to win battles, but to love Him. victory in battle depended on love for God, and future blessing would also depend on their love for God.

v12-13: Love for God necessarily excludes love for other things. For the Israelites, love for God excluded an alliance with the Canaanites. These still lived among the Israelites; they "remain among you". Where sins remain in our lives, we must be ruthless with them, and not tolerate them; this demands a constant battle.

v14: Joshua, coming to the end of his life, testified of Gods faithfulness to the people. He speaks little of himself here.

v15-16: God is faithful; but He will fulfil the warnings given if the people pursued the gods of the Gentiles. God will honour His promises to bring judgment, just as He honoured His promises to bring blessing. We see the goodness and severity of God.