1The angel of the LORD went up from Gilgal to Bokim and said, "I brought you up out of Egypt and led you into the land that I swore to give to your forefathers. I said, 'I will never break my covenant with you,
2and you shall not make a covenant with the people of this land, but you shall break down their altars.' Yet you have disobeyed me. Why have you done this?
3Now therefore I tell you that I will not drive them out before you; they will be thorns in your sides and their gods will be a snare to you."
4When the angel of the LORD had spoken these things to all the Israelites, the people wept aloud,
5and they called that place Bokim. There they offered sacrifices to the LORD .
6After Joshua had dismissed the Israelites, they went to take possession of the land, each to his own inheritance.
7The people served the LORD throughout the lifetime of Joshua and of the elders who outlived him and who had seen all the great things the LORD had done for Israel.
8Joshua son of Nun, the servant of the LORD , died at the age of a hundred and ten.
9And they buried him in the land of his inheritance, at Timnath Heres in the hill country of Ephraim, north of Mount Gaash.
10After that whole generation had been gathered to their fathers, another generation grew up, who knew neither the LORD nor what he had done for Israel.
11Then the Israelites did evil in the eyes of the LORD and served the Baals.
12They forsook the LORD , the God of their fathers, who had brought them out of Egypt. They followed and worshiped various gods of the peoples around them. They provoked the LORD to anger
13because they forsook him and served Baal and the Ashtoreths.
14In his anger against Israel the LORD handed them over to raiders who plundered them. He sold them to their enemies all around, whom they were no longer able to resist.
15Whenever Israel went out to fight, the hand of the LORD was against them to defeat them, just as he had sworn to them. They were in great distress.
16Then the LORD raised up judges, who saved them out of the hands of these raiders.
17Yet they would not listen to their judges but prostituted themselves to other gods and worshiped them. Unlike their fathers, they quickly turned from the way in which their fathers had walked, the way of obedience to the LORD 's commands.
18Whenever the LORD raised up a judge for them, he was with the judge and saved them out of the hands of their enemies as long as the judge lived; for the LORD had compassion on them as they groaned under those who oppressed and afflicted them.
19But when the judge died, the people returned to ways even more corrupt than those of their fathers, following other gods and serving and worshiping them. They refused to give up their evil practices and stubborn ways.
20Therefore the LORD was very angry with Israel and said, "Because this nation has violated the covenant that I laid down for their forefathers and has not listened to me,
21I will no longer drive out before them any of the nations Joshua left when he died.
22I will use them to test Israel and see whether they will keep the way of the LORD and walk in it as their forefathers did."
23The LORD had allowed those nations to remain; he did not drive them out at once by giving them into the hands of Joshua.