Joshua exhorts Israel to be courageous, keep the commandments, love the Lord, and neither marry among nor cleave unto the remnants of the Canaanites who remain in the land—When the children of Israel serve other gods, they will be cursed and dispossessed.