18 When enemies made life miserable for the Israelites, the Lord felt sorry for them. He would choose a judge and help that judge rescue Israel from its enemies. The Lord was kind to Israel as long as that judge lived.
19 But afterwards, the Israelites would become even more sinful than their ancestors had been. The Israelites were stubborn—they simply would not stop worshiping other gods or following their teachings.
20 The Lord was angry with Israel and said:The Israelites have broken the agreement I made with their ancestors. They won't obey me,
21 so I'll stop helping them defeat their enemies. Israel still had a lot of enemies when Joshua died,
22 and I'm going to let those enemies stay. I'll use them to test Israel, because then I can find out if Israel will worship and obey me as their ancestors did.
23 That's why the Lord had not let Joshua get rid of those enemy nations all at once.