Now the Angel of the LORD came up from Gilgal to Bochim. And he said, “I brought you up from Egypt and led you to the land which I swore [to give] to your fathers; and I said, ‘I will never break My covenant with you, [Ex 20:2; 23:32] and as for you, you shall not make a covenant with the inhabitants of this land; you shall tear down their altars.’ But you have not obeyed Me; what is this that you have done? So I also said, ‘I will not drive your enemies out before you; but they will be like thorns in your sides and their gods will be a snare to you.’ ” When the Angel of the LORD had spoken these words to all the Israelites, the people raised their voices and wept. So they named that place Bochim (weepers); and there they offered sacrifices to the LORD.
And when Joshua had sent the people away, the [tribes of the] Israelites went each to his inheritance, to take possession of the land. 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 of the LORD which He had done for Israel. Then Joshua the son of Nun, the servant of the LORD, died at the age of a hundred and ten. And they buried him in the territory of his inheritance in Timnath-heres, in the hill country of Ephraim, north of Mount Gaash. Also, all [the people of] that generation were gathered to their fathers [in death]; and another generation arose after them who did not know (recognize, understand) the LORD, nor even the work which He had done for Israel.
Then the Israelites did evil in the sight of the LORD and worshiped and served the Baals, and they abandoned the LORD, the God of their fathers, who brought them out of the land of Egypt. They followed other gods from the gods of the peoples who were around them, and they bowed down to them, and offended and provoked the LORD to anger. So they abandoned the LORD and served Baal [the pagan god of the Canaanites] and the Ashtaroth. So the anger of the LORD burned against Israel, and He gave them into the hands (power) of plunderers who robbed them; and He sold them into the hands of their surrounding enemies, so that they could no longer stand [in opposition] before their enemies. Wherever they went, the hand of the LORD was against them for evil (misfortune), as the LORD had spoken, and as the LORD had sworn to them, so that they were severely distressed. [Lev 26:14-46]
Then the LORD raised up judges who rescued them from the hands of those who robbed them.