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.
Ehud then approached him while he was sitting alone in the upper room of his summer palace and said, "I have a message from God for you." As the king rose from his seat,
Ehud reached with his left hand, drew the sword from his right thigh and plunged it into the king's belly.
Even the handle sank in after the blade, which came out his back. Ehud did not pull the sword out, and the fat closed in over it.
Then Ehud went out to the porch; he shut the doors of the upper room behind him and locked them.
After he had gone, the servants came and found the doors of the upper room locked. They said, "He must be relieving himself in the inner room of the house."
They waited to the point of embarrassment, but when he did not open the doors of the room, they took a key and unlocked them. There they saw their lord fallen to the floor, dead.
While they waited, Ehud got away. He passed by the idols and escaped to Seirah.
When he arrived there, he blew a trumpet in the hill country of Ephraim, and the Israelites went down with him from the hills, with him leading them.
"Follow me," he ordered, "for the LORD has given Moab, your enemy, into your hands." So they followed him down and, taking possession of the fords of the Jordan that led to Moab, they allowed no one to cross over.
At that time they struck down about ten thousand Moabites, all vigorous and strong; not a man escaped.
That day Moab was made subject to Israel, and the land had peace for eighty years.
After Ehud died, the Israelites once again did evil in the eyes of the LORD.
So the LORD sold them into the hands of Jabin, a king of Canaan, who reigned in Hazor. The commander of his army was Sisera, who lived in Harosheth Haggoyim.
Because he had nine hundred iron chariots and had cruelly oppressed the Israelites for twenty years, they cried to the LORD for help.
Deborah, a prophetess, the wife of Lappidoth, was leading Israel at that time.
She held court under the Palm of Deborah between Ramah and Bethel in the hill country of Ephraim, and the Israelites came to her to have their disputes decided.
She sent for Barak son of Abinoam from Kedesh in Naphtali and said to him, "The LORD, the God of Israel, commands you: 'Go, take with you ten thousand men of Naphtali and Zebulun and lead the way to Mount Tabor.
I will lure Sisera, the commander of Jabin's army, with his chariots and his troops to the Kishon River and give him into your hands.' "
Barak said to her, "If you go with me, I will go; but if you don't go with me, I won't go."
"Very well," Deborah said, "I will go with you. But because of the way you are going about this, the honor will not be yours, for the LORD will hand Sisera over to a woman." So Deborah went with Barak to Kedesh,
where he summoned Zebulun and Naphtali. Ten thousand men followed him, and Deborah also went with him.
Now Heber the Kenite had left the other Kenites, the descendants of Hobab, Moses' brother-in-law, and pitched his tent by the great tree in Zaanannim near Kedesh.
When they told Sisera that Barak son of Abinoam had gone up to Mount Tabor,
Sisera gathered together his nine hundred iron chariots and all the men with him, from Harosheth Haggoyim to the Kishon River.
Then Deborah said to Barak, "Go! This is the day the LORD has given Sisera into your hands. Has not the LORD gone ahead of you?" So Barak went down Mount Tabor, followed by ten thousand men.
At Barak's advance, the LORD routed Sisera and all his chariots and army by the sword, and Sisera abandoned his chariot and fled on foot.
But Barak pursued the chariots and army as far as Harosheth Haggoyim. All the troops of Sisera fell by the sword; not a man was left.
Sisera, however, fled on foot to the tent of Jael, the wife of Heber the Kenite, because there were friendly relations between Jabin king of Hazor and the clan of Heber the Kenite.
Jael went out to meet Sisera and said to him, "Come, my Lord, come right in. Don't be afraid." So he entered her tent, and she put a covering over him.
"I'm thirsty," he said. "Please give me some water." She opened a skin of milk, gave him a drink, and covered him up.
"Stand in the doorway of the tent," he told her. "If someone comes by and asks you, 'Is anyone here?' say 'No.' "
But Jael, Heber's wife, picked up a tent peg and a hammer and went quietly to him while he lay fast asleep, exhausted. She drove the peg through his temple into the ground, and he died.
Barak came by in pursuit of Sisera, and Jael went out to meet him. "Come," she said, "I will show you the man you're looking for." So he went in with her, and there lay Sisera with the tent peg through his temple--dead.
On that day God subdued Jabin, the Canaanite king, before the Israelites.
And the hand of the Israelites grew stronger and stronger against Jabin, the Canaanite king, until they destroyed him.