The Angel of the Lord went up from Gilgal to Bochim and said, "I brought you out of Egypt and led you into the land I had promised to your fathers. I also said: I will never break My covenant with you.
You are not to make a covenant with the people who are living in this land, and you are to tear down their altars.But you have not obeyed Me. What is this you have done?
Therefore, I now say: I will not drive out these people before you. They will be thorns in your sides, and their gods will be a trap to you."
When the Angel of the Lord had spoken these words to all the Israelites, the people wept loudly.
So they named that place Bochim and offered sacrifices there to the Lord.
Joshua sent the people away, and the Israelites went to take possession of the land, each to his own inheritance.
The people worshiped the Lord throughout Joshua's lifetime and during the lifetimes of the elders who outlived Joshua. They had seen all the Lord's great works He had done for Israel.
Joshua son of Nun, the servant of the Lord, died at the age of 110.
They buried him in the territory of his inheritance, in Timnath-heres, in the hill country of Ephraim, north of Mount Gaash.
That whole generation was also gathered to their ancestors. After them another generation rose up who did not know the Lord or the works He had done for Israel.
The Israelites did what was evil in the Lord's sight. They worshiped the Baals
and abandoned the Lord, the God of their fathers, who had brought them out of Egypt. They went after other gods from the surrounding peoples and bowed down to them. They infuriated the Lord,
for they abandoned Him and worshiped Baal and the Ashtoreths.
The Lord's anger burned against Israel, and He handed them over to marauders who raided them. He sold them to the enemies around them, so that they could no longer resist their enemies.
Whenever the Israelites went out, the Lord was against them and brought disaster [on them], just as He had promised and sworn to them. So they suffered greatly.
The Lord raised up judges, who saved them from the power of their marauders,
but they did not listen to their judges. Instead, they prostituted themselves with other gods, bowing down to them. They quickly turned from the way of their fathers, who had walked in obedience to the Lord's commands. They did not do as their fathers did.
Whenever the Lord raised up a judge for the Israelites, the Lord was with him and saved the people from the power of their enemies while the judge was still alive. The Lord was moved to pity whenever they groaned because of those who were oppressing and afflicting them.
Whenever the judge died, the Israelites would act even more corruptly than their fathers, going after other gods to worship and bow down to them. They did not turn from their [evil] practices or their obstinate ways.
The Lord's anger burned against Israel, and He declared, "Because this nation has violated My covenant that I made with their fathers and disobeyed Me,
I will no longer drive out before them any of the nations Joshua left when he died.
[I did this] to test Israel and to see whether they would keep the Lord's way by walking in it, as their fathers had."
The Lord left these nations and did not drive them out immediately. He did not hand them over to Joshua.