Judges 3:1-11 RSV

1 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;
2 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.
3 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.
4 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.
5 So the people of Israel dwelt among the Canaanites, the Hittites, the Amorites, the Per'izzites, the Hivites, and the Jeb'usites;
6 and they took their daughters to themselves for wives, and their own daughters they gave to their sons; and they served their gods.
7 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.
8 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.
9 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.
10 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.
11 So the land had rest forty years. Then Oth'ni-el the son of Kenaz died.