Joshua 23:4
“Behold, I have divided unto you by lot these nations that remain, to be an inheritance for your tribes, from Jordan, with all the nations that I have cut off, even unto the great sea westward.”
And Joshua called for all Israel, and for their elders, and for their heads, and for their judges, and for their officers, and said unto them, I am old and stricken in age:
And ye have seen all that the Lord your God hath done unto all these nations because of you; for the Lord your God is he that hath fought for you.
Behold, I have divided unto you by lot these nations that remain, to be an inheritance for your tribes, from Jordan, with all the nations that I have cut off, even unto the great sea westward.
And the Lord your God, he shall expel them from before you, and drive them from out of your sight; and ye shall possess their land, as the Lord your God hath promised unto you.
Be ye therefore very courageous to keep and to do all that is written in the book of the law of Moses, that ye turn not aside therefrom to the right hand or to the left;
Counter-Arguments
The strongest case that this verse does not belong in this theme.

Related Verses
“So Joshua took the whole land, according to all that the Lord said unto Moses; and Joshua gave it for an inheritance unto Israel according to their divisions by their tribes. And the land rested from war.”
“Now therefore divide this land for an inheritance unto the nine tribes, and the half tribe of Manasseh,”
“All the inhabitants of the hill country from Lebanon unto Misrephoth–maim, and all the Sidonians, them will I drive out from before the children of Israel: only divide thou it by lot unto the Israelites for an inheritance, as I have commanded thee.”
“These are they whom the Lord commanded to divide the inheritance unto the children of Israel in the land of Canaan.”
“So Joshua let the people depart, every man unto his inheritance.”