The angel of the Lord goes up from Gilgal to Bochim and reminds Israel that God brought them out of Egypt and promised never to break his covenant, but that they were to tear down the altars of the land and make no treaty with its people. Because they disobeyed, God will not drive those peoples out before them, and they will be a snare and adversaries. The people weep, and the place is called Bochim, meaning weepers, and they offer sacrifices there.
The text then looks back: Joshua dismisses the people, each tribe goes to its inheritance, and Joshua dies at 110 years old and is buried at Timnath-heres. As long as Joshua and the elders who had seen the Lord's works lived, Israel served him. But another generation arose that did not know the Lord or what he had done for Israel, and it did evil, forsook God and served Baal and the Ashtaroth.
The Lord becomes angry and hands the people over to raiders, but when Israel cries out he raises up judges who deliver them. Even so, when the judge died the people turned back and became more corrupt than their fathers. So the Lord decides to stop driving out the nations Joshua left, to test whether Israel would keep his way.