The Israelites did what was evil in the eyes of Yahweh; they forgot Yahweh their God and served the Baals and the Asherahs.
In context
5So the Israelites lived among the Canaanites, the Hittites, the Amorites, the Perizzites, the Hivites, and the Jebusites. 6They took the daughters of these peoples as wives for themselves and gave their own daughters to their sons, and they served their gods. 7The Israelites did what was evil in the eyes of Yahweh; they forgot Yahweh their God and served the Baals and the Asherahs. 8Yahweh’s anger burned against Israel, and he sold them into the hand of Cushan-rishathaim, king of Aram-naharaim; the Israelites served Cushan-rishathaim eight years. 9Then the Israelites cried out to Yahweh, and Yahweh raised up a deliverer for the Israelites, who saved them — Othniel son of Kenaz, Caleb’s younger brother.