Now the angel of the Lord went up from Gilgal to Bochim, and said, "I brought you up from Egypt, and brought you into the land that I had promised to your ancestors. I said, "I will never break my covenant with you.
For your part, do not make a covenant with the inhabitants of this land; tear down their altars.' But you have not obeyed my command. See what you have done!
So now I say, I will not drive them out before you; but they shall become adversaries to you, and their gods shall be a snare to you."
References for Judges 2:3
When the angel of the Lord spoke these words to all the Israelites, the people lifted up their voices and wept.
So they named that place Bochim, and there they sacrificed to the Lord.
References for Judges 2:5
When Joshua dismissed the people, the Israelites all went to their own inheritances to take possession of the land.
The people worshiped 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.
Joshua son of Nun, the servant of the Lord, died at the age of one hundred ten years.
So they buried him within the bounds of his inheritance in Timnath-heres, in the hill country of Ephraim, north of Mount Gaash.
Moreover, that whole generation was gathered to their ancestors, and another generation grew up after them, who did not know the Lord or the work that he had done for Israel.