The LORD's messenger came up from Gilgal to Bochim and said, "I brought you up from Egypt and led you into the land that I had promised to your ancestors. I said, ‘I will never break my covenant with you,
and you are not to make a covenant with those who live in this land. You should break down their altars.' But you didn't obey me. What have you done?
So now I tell you, I won't drive them out before you, but they'll be a problem for you, and their gods will be a trap for you."
When the LORD's messenger spoke these words to all the Israelites, they raised their voices and cried out loud.
So they named that place Bochim, and they offered a sacrifice to the LORD there.
When Joshua dismissed the people, the Israelites each went to settle on their own family property in order to take possession of the land.
The people served the LORD throughout the rest of Joshua's life and throughout the next generation of elders who outlived him, those who had seen all the great things that the LORD had done for Israel.
Joshua, Nun's son and the LORD's servant, died when he was 110 years old.
They buried him within the boundaries of his family property in Timnath-heres in the highlands of Ephraim north of Mount Gaash.
When that whole generation had passed away, another generation came after them who didn't know the LORD or the things that he had done for Israel.
Then the Israelites did things that the LORD saw as evil: They served the Baals;
and they went away from the LORD, their ancestors' God, who had brought them out of the land of Egypt. They went after other gods from among the surrounding peoples, they worshipped them, and they angered the LORD.
They went away from the LORD and served Baal and the Astartes.
So the LORD became angry with Israel, and he handed them over to raiders who plundered them. He let them be defeated by their enemies around them, so that they were no longer able to stand up to them.
Whenever the Israelites marched out, the LORD's power worked against them, just as the LORD had warned them. And they were very distressed.
Then the LORD raised up leaders to rescue them from the power of these raiders.
But they wouldn't even obey their own leaders because they were unfaithful, following other gods and worshipping them. They quickly deviated from the way of their ancestors, who had obeyed the LORD's commands, and didn't follow their example.
The LORD was moved by Israel's groaning under those who oppressed and crushed them. So the LORD would raise up leaders for them, and the LORD would be with the leader, and he would rescue Israel from the power of their enemies as long as that leader lived.
But then when the leader died, they would once again act in ways that weren't as good as their ancestors', going after other gods, to serve them and to worship them. They wouldn't drop their bad practices or hardheaded ways.
So the LORD became angry with Israel and said, "Because this nation has violated my covenant that I required of their ancestors and hasn't obeyed me,
I in turn will no longer drive out before them any of the nations that Joshua left when he died."
As a test for Israel, to see whether they would carefully walk in the LORD's ways just as their ancestors had done,
the LORD left these nations instead of driving them out immediately or handing them over to Joshua.