6 When Joshua dismissed the people, the people of Israel went each to his inheritance to take possession of the land. 7 And the people served the Lord all the days of Joshua, and all the days of the elders who outlived Joshua, who had seen all the great work that the Lord had done for Israel. 8 And Joshua the son of Nun, the servant of the Lord, died at the age of 110 years. 9 And they buried him within the boundaries of his inheritance in Timnath-heres, in the hill country of Ephraim, north of the mountain of Gaash. 10 And all that generation also were gathered to their fathers. And there arose another generation after them who did not know the Lord or the work that he had done for Israel.
11 And the people of Israel did what was evil in the sight of the Lord and served the Baals. 12 And they abandoned the Lord, the God of their fathers, who had brought them out of the land of Egypt. They went after other gods, from among the gods of the peoples who were around them, and bowed down to them. And they provoked the Lord to anger. 13 They abandoned the Lord and served the Baals and the Ashtaroth. 14 So the anger of the Lord was kindled against Israel, and he gave them over to plunderers, who plundered them. And he sold them into the hand of their surrounding enemies, so that they could no longer withstand their enemies. 15 Whenever they marched out, the hand of the Lord was against them for harm, as the Lord had warned, and as the Lord had sworn to them. And they were in terrible distress. (ESV)