Now these are the nations which the LORD left, to test Israel by them, that is, all in Israel who had no experience of any war in Canaan;
it was only that the generations of the people of Israel might know war, that he might teach war to such at least as had not known it before.
These are the nations: the five lords of the Philistines, and all the Canaanites, and the Sido'nians, and the Hivites who dwelt on Mount Lebanon, from Mount Ba'al-her'mon as far as the entrance of Hamath.
They were for the testing of Israel, to know whether Israel would obey the commandments of the LORD, which he commanded their fathers by Moses.
So the people of Israel dwelt among the Canaanites, the Hittites, the Amorites, the Per'izzites, the Hivites, and the Jeb'usites;
and they took their daughters to themselves for wives, and their own daughters they gave to their sons; and they served their gods.
And the people of Israel did what was evil in the sight of the LORD, forgetting the LORD their God, and serving the Ba'als and the Ashe'roth.
Therefore the anger of the LORD was kindled against Israel, and he sold them into the hand of Cu'shan-rishatha'im king of Mesopota'mia; and the people of Israel served Cu'shan-rishatha'im eight years.
But when the people of Israel cried to the LORD, the LORD raised up a deliverer for the people of Israel, who delivered them, Oth'ni-el the son of Kenaz, Caleb's younger brother.
The Spirit of the LORD came upon him, and he judged Israel; he went out to war, and the LORD gave Cu'shan-rishatha'im king of Mesopota'mia into his hand; and his hand prevailed over Cu'shan-rishatha'im.
So the land had rest forty years. Then Oth'ni-el the son of Kenaz died.