A long time after the Lord had given Israel rest from all their enemies around them, Joshua, old and advanced in years, calls all Israel, their elders, heads, judges and officers. He reminds them that they have seen all that the Lord has done to those nations for their sake, because the Lord fought for Israel. He tells them that the Lord will drive out the nations that still remain, and that they are to possess their land as promised.
Then he urges them to be very strong to keep and do all that is written in the book of the law of Moses, turning aside neither to the right nor to the left. He asks them not to mix with the nations that remain, nor to mention the names of their gods, nor swear by them, nor serve them, nor bow down to them. They are to hold fast to the Lord their God, as they have done to this day. The Lord has driven out before them great and strong nations, and one of them puts a thousand to flight, because the Lord fights for them, as he promised. So they must be very careful to love the Lord their God.
If they join with those nations, intermarrying with them, they should know that the Lord will no longer drive them out before them. They will be a snare, a trap, a whip on their sides and thorns in their eyes, until they perish from this good land the Lord gave them.
Joshua says he is going the way of all the earth, and that they know in their hearts and souls that not one of all the good words the Lord spoke to them has failed. Just as all the good things have come, the Lord will also bring all the evil if they transgress his covenant and serve other gods. Then his anger will burn, and they will quickly perish from the good land he gave them.