21 The 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 I swore to give to your ancestors. I said, 'I will never break my covenant with you, 2 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? 3 And I have also said, 'I will not drive them out before you; they will become traps for you, and their gods will become snares to you.' " 4 When the angel of the Lord had spoken these things to all the Israelites, the people wept aloud, 5 and they called that place Bokim.[1] There they offered sacrifices to the Lord.
6 After Joshua had dismissed the Israelites, they went to take possession of the land, each to their own inheritance. 7 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. 8 Joshua son of Nun, the servant of the Lord, died at the age of a hundred and ten. 9 And they buried him in the land of his inheritance, at Timnath Heres[2] in the hill country of Ephraim, north of Mount Gaash. 10 After that whole generation had been gathered to their ancestors, another generation grew up who knew neither the Lord nor what he had done for Israel.
11 Then the Israelites did evil in the eyes of the Lord and served the Baals. 12 They forsook the Lord, the God of their ancestors, who had brought them out of Egypt. They followed and worshiped various gods of the peoples around them. They aroused the Lord's anger 13 because they forsook him and served Baal and the Ashtoreths. 14 In his anger against Israel the Lord gave them into the hands of raiders who plundered them. He sold them into the hands of their enemies all around, whom they were no longer able to resist. 15 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. 16 Then the Lord raised up judges,[3] who saved them out of the hands of these raiders. 17 Yet they would not listen to their judges but prostituted themselves to other gods and worshiped them. They quickly turned from the ways of their ancestors, who had been obedient to the Lord's commands. 18 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 relented because of their groaning under those who oppressed and afflicted them. 19 But when the judge died, the people returned to ways even more corrupt than those of their ancestors, following other gods and serving and worshiping them. They refused to give up their evil practices and stubborn ways. 20 Therefore the Lord was very angry with Israel and said, "Because this nation has violated the covenant I ordained for their ancestors and has not listened to me, 21 I will no longer drive out before them any of the nations Joshua left when he died. 22 I will use them to test Israel and see whether they will keep the way of the Lord and walk in it as their ancestors did." 23 The Lord had allowed those nations to remain; he did not drive them out at once by giving them into the hands of Joshua.
31 These are the nations the Lord left to test all those Israelites who had not experienced any of the wars in Canaan 2 (he did this only to teach warfare to the descendants of the Israelites who had not had previous battle experience): 3 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. 4 They were left to test the Israelites to see whether they would obey the Lord's commands, which he had given their ancestors through Moses. 5 The Israelites lived among the Canaanites, Hittites, Amorites, Perizzites, Hivites and Jebusites. 6 They took their daughters in marriage and gave their own daughters to their sons, and served their gods.
7 The Israelites did evil in the eyes of the Lord; they forgot the Lord their God and served the Baals and the Asherahs.
8 The anger of the Lord burned against Israel so that he sold them into the hands of Cushan-Rishathaim king of Aram Naharaim,[4] to whom the Israelites were subject for eight years. 9 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. 10 The Spirit of the Lord came on him, so that he became Israel's judge[5] and went to war. The Lord gave Cushan-Rishathaim king of Aram into the hands of Othniel, who overpowered him. 11 So the land had peace for forty years, until Othniel son of Kenaz died.
12 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. 13 Getting the Ammonites and Amalekites to join him, Eglon came and attacked Israel, and they took possession of the City of Palms.[6] 14 The Israelites were subject to Eglon king of Moab for eighteen years. 15 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. 16 Now Ehud had made a double-edged sword about a cubit[7] long, which he strapped to his right thigh under his clothing. 17 He presented the tribute to Eglon king of Moab, who was a very fat man. 18 After Ehud had presented the tribute, he sent on their way those who had carried it. 19 But on reaching the stone images near Gilgal he himself went back to Eglon and said, "Your Majesty, I have a secret message for you." The king said to his attendants, "Leave us!" And they all left. 20 Ehud then approached him while he was sitting alone in the upper room of his palace[8] and said, "I have a message from God for you." As the king rose from his seat, 21 Ehud reached with his left hand, drew the sword from his right thigh and plunged it into the king's belly. 22 Even the handle sank in after the blade, and his bowels discharged. Ehud did not pull the sword out, and the fat closed in over it. 23 Then Ehud went out to the porch[9] ; he shut the doors of the upper room behind him and locked them. 24 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 palace." 25 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. 26 While they waited, Ehud got away. He passed by the stone images and escaped to Seirah. 27 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. 28 "Follow me," he ordered, "for the Lord has given Moab, your enemy, into your hands." So they followed him down and took possession of the fords of the Jordan that led to Moab; they allowed no one to cross over. 29 At that time they struck down about ten thousand Moabites, all vigorous and strong; not one escaped. 30 That day Moab was made subject to Israel, and the land had peace for eighty years.
31 After Ehud came Shamgar son of Anath, who struck down six hundred Philistines with an oxgoad. He too saved Israel.