\v 1 The angel of Yahweh went up from Gilgal to a place that the people of Israel would soon call Bokim. He said to the Israelite people, "I brought your ancestors up here from Egypt. I led them into this land that I solemnly promised to give to your ancestors. I said to them, 'I will never break the covenant I made with you.
\v 2 But as for you, you must never agree to have peace with the people who live in this land. You must tear down the altars where they make sacrifices to idols.' But you have not obeyed me.
\v 3 So now, I am telling you that I will not drive out your enemies as you advance. They will be like thorns in your sides. And they will try to trap you by persuading you to worship their idols."
\v 7 They obeyed Yahweh as long as Joshua was alive, and as long as the elders, those who had seen all the great things that Yahweh had done for Israel, were alive.
\p
\v 8 Then Yahweh's servant Joshua died. He was 110 years old when he died.
\s5
\v 9 They buried his body in the land that he had received from Moses, at Timnath Heres, in the area where the descendants of Ephraim lived, north of Mount Gaash.
\p
\v 10 After all the people who lived at the same time as Joshua died, more people grew up who did not know Yahweh and had not seen him do the great things he had done for the Israelite people.
\v 11-13 They did things that Yahweh said were very evil. They worshiped idols that represented the god Baal and the female fertility goddess, the Ashtoreth. They worshiped the various gods that the people groups around them worshiped. They stopped worshiping Yahweh, the God their ancestors worshiped, the one who had brought their ancestors out of Egypt. This caused Yahweh to be very angry.
\v 14 Because Yahweh was angry, he allowed people from other groups to attack them and steal their crops and animals. They were no longer able to resist their enemies, and Yahweh allowed all their enemies around them to defeat them.
\v 15 Whenever the Israelites went to fight their enemies, Yahweh always worked against them and allowed their enemies to defeat them, just as he had said he would do. So the Israelites were greatly distressed.
\s5
\p
\v 16 Then Yahweh brought leaders to them. These leaders rescued the Israelites from the people who were attacking them.
\v 17 But the Israelites still would not obey their leaders. Instead, they betrayed Yahweh for idols, like prostitutes to other gods and they worshiped those idols. They were not like their ancestors. Their ancestors obeyed what Yahweh commanded, but these new people quickly stopped behaving as their ancestors had behaved.
\v 18 Whenever Yahweh brought a leader to them, he helped that leader and enabled him to rescue the people from their enemies. He did that as long as that leader was alive. Yahweh pitied them as they groaned because they were being oppressed and caused to suffer.
\v 19 But after that leader died, the people always began behaving in more evil ways than their ancestors had behaved. They worshiped other gods and bowed down to them and did all the things that they thought those gods wanted them to do.
\s5
\p
\v 20 So Yahweh was very angry with the Israelite people. He said, "These people have disobeyed the covenant that I made with their ancestors. They have not done what I told them to do.
\v 21 So I will no longer expel the people groups that Joshua left in this land when he died.
\v 22 I will use them to test the Israelite people to see whether they will do what I want them to do, as their ancestors did."
\v 23 Yahweh allowed these people groups to stay in that land for a long time after the people of Israel had come. He did not expel them by allowing Joshua and his men to defeat them.