and 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?
Now 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."
When the angel of the LORD had spoken these things to all the Israelites, the people wept aloud,
and they called that place Bokim. There they offered sacrifices to the LORD.
After Joshua had dismissed the Israelites, they went to take possession of the land, each to his own inheritance.
The 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.
Joshua son of Nun, the servant of the LORD, died at the age of a hundred and ten.
And they buried him in the land of his inheritance, at Timnath Heres in the hill country of Ephraim, north of Mount Gaash.
After 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.
Then the Israelites did evil in the eyes of the LORD and served the Baals.
They 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
because they forsook him and served Baal and the Ashtoreths.
In 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.
Whenever 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.
Then the LORD raised up judges, who saved them out of the hands of these raiders.
Yet 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.
Whenever 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.
But 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.
Therefore 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,
I will no longer drive out before them any of the nations Joshua left when he died.
I 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."
The LORD had allowed those nations to remain; he did not drive them out at once by giving them into the hands of Joshua.
These are the nations the LORD left to test all those Israelites who had not experienced any of the wars in Canaan
(he did this only to teach warfare to the descendants of the Israelites who had not had previous battle experience):
the five rulers of the Philistines, all the Canaanites, the Sidonians, and the Hivites living in the Lebanon mountains from Mount Baal Hermon to Lebo Hamath.
They were left to test the Israelites to see whether they would obey the LORD's commands, which he had given their forefathers through Moses.
The Israelites lived among the Canaanites, Hittites, Amorites, Perizzites, Hivites and Jebusites.
They took their daughters in marriage and gave their own daughters to their sons, and served their gods.
The Israelites did evil in the eyes of the LORD; they forgot the LORD their God and served the Baals and the Asherahs.
The anger of the LORD burned against Israel so that he sold them into the hands of Cushan-Rishathaim king of Aram Naharaim, to whom the Israelites were subject for eight years.
But when they cried out to the LORD, he raised up for them a deliverer, Othniel son of Kenaz, Caleb's younger brother, who saved them.
The Spirit of the LORD came upon him, so that he became Israel's judge and went to war. The LORD gave Cushan-Rishathaim king of Aram into the hands of Othniel, who overpowered him.
So the land had peace for forty years, until Othniel son of Kenaz died.
Once again the Israelites did evil in the eyes of the LORD, and because they did this evil the LORD gave Eglon king of Moab power over Israel.
Getting the Ammonites and Amalekites to join him, Eglon came and attacked Israel, and they took possession of the City of Palms.
The Israelites were subject to Eglon king of Moab for eighteen years.
Again the Israelites cried out to the LORD, and he gave them a deliverer--Ehud, a left-handed man, the son of Gera the Benjamite. The Israelites sent him with tribute to Eglon king of Moab.
Now Ehud had made a double-edged sword about a foot and a half long, which he strapped to his right thigh under his clothing.
He presented the tribute to Eglon king of Moab, who was a very fat man.
After Ehud had presented the tribute, he sent on their way the men who had carried it.
At the idols near Gilgal he himself turned back and said, "I have a secret message for you, O king." The king said, "Quiet!" And all his attendants left him.