5 and they called that place Bokim.a There they offered sacrifices to the LORD.

Disobedience and Defeat

6 After Joshua had dismissed the Israelites, they went to take possession of the land, each to their own inheritance.
7 The people served the LORD throughout the lifetime of Joshua and of the elders who outlived him and who had seen all the great things the LORD had done for Israel.
8 Joshua son of Nun, the servant of the LORD, died at the age of a hundred and ten.
9 And they buried him in the land of his inheritance, at Timnath Heresb in the hill country of Ephraim, north of Mount Gaash.
10 After that whole generation had been gathered to their ancestors, another generation grew up who knew neither the LORD nor what he had done for Israel.
11 Then the Israelites did evil in the eyes of the LORD and served the Baals.
12 They forsook the LORD, the God of their ancestors, who had brought them out of Egypt. They followed and worshiped various gods of the peoples around them. They aroused the LORD’s anger
13 because they forsook him and served Baal and the Ashtoreths.
14 In his anger against Israel the LORD gave them into the hands of raiders who plundered them. He sold them into the hands of their enemies all around, whom they were no longer able to resist.
15 Whenever Israel went out to fight, the hand of the LORD was against them to defeat them, just as he had sworn to them. They were in great distress.