2 This was to teach the future generations of the Israelites how to fight in battle, especially those who had not fought before.
3 These nations included: the five rulers of the Philistines and all of the Canaanites, the Sidonians, and the Hivites who lived in the Lebanese mountains from Mount Baal-hermon as far as the entrance to Hamath.
4 The Lord left them to test Israel, to determine if they would keep the Lord’s commands He had given their fathers through Moses.
5 But they settled among the Canaanites, Hittites, Amorites, Perizzites, Hivites, and Jebusites.
6 The Israelites took their daughters as wives for themselves, gave their own daughters to their sons, and worshiped their gods.
7 The Israelites did what was evil in the Lord’s sight; they forgot the Lord their God and worshiped the Baals and the Asherahs.
8 The Lord’s anger burned against Israel, and He sold them to Cushan-rishathaim king of Aram-naharaim, and the Israelites served him eight years.