Judges 2:1-13 NKJV
Then the Angel of the LORD came up from Gilgal to Bochim, and said: “I led you up from Egypt and brought you to the land of which I swore to your fathers; and I said, ‘I will never break My covenant with you. And you shall make no covenant with the inhabitants of this land; you shall tear down their altars.’ But you have not obeyed My voice. Why have you done this? Therefore I also said, ‘I will not drive them out before you; but they shall be thorns in your side, and their gods shall be a snare to you.’ ” So it was, when the Angel of the LORD spoke these words to all the children of Israel, that the people lifted up their voices and wept.
Then they called the name of that place Bochim; and they sacrificed there to the LORD. And when Joshua had dismissed the people, the children of Israel went each to his own inheritance to possess the land.
So 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 works of the LORD which He had done for Israel. Now Joshua the son of Nun, the servant of the LORD, died when he was one hundred and ten years old. And they buried him within the border of his inheritance at Timnath Heres, in the mountains of Ephraim, on the north side of Mount Gaash. When all that generation had been gathered to their fathers, another generation arose after them who did not know the LORD nor the work which He had done for Israel.
Then the children of Israel did evil in the sight of the LORD, and served the Baals; and they forsook the LORD God of their fathers, who had brought them out of the land of Egypt; and they followed other gods from among the gods of the people who were all around them, and they bowed down to them; and they provoked the LORD to anger. They forsook the LORD and served Baal and the Ashtoreths.
NKJV: New King James Version