Now these are the nations that the Lord left to test all those in Israel who had no experience of any war in Canaan
(it was only that successive generations of Israelites might know war, to teach those who had no experience of it before):
the five lords of the Philistines, and all the Canaanites, and the Sidonians, and the Hivites who lived on Mount Lebanon, from Mount Baal-hermon as far as Lebo-hamath.
They were for the testing of Israel, to know whether Israel would obey the commandments of the Lord, which he commanded their ancestors by Moses.
So the Israelites lived among the Canaanites, the Hittites, the Amorites, the Perizzites, the Hivites, and the Jebusites;
and they took their daughters as wives for themselves, and their own daughters they gave to their sons; and they worshiped their gods.
The Israelites did what was evil in the sight of the Lord, forgetting the Lord their God, and worshiping the Baals and the Asherahs.
Therefore the anger of the Lord was kindled against Israel, and he sold them into the hand of King Cushan-rishathaim of Aram-naharaim; and the Israelites served Cushan-rishathaim eight years.
But when the Israelites cried out to the Lord, the Lord raised up a deliverer for the Israelites, who delivered them, Othniel 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 King Cushan-rishathaim of Aram into his hand; and his hand prevailed over Cushan-rishathaim.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)