Israel’s pattern of sin and punishment

11 Then the Israelites did things that the LORD saw as evil: They served the Baals;
12 and they went away from the LORD, their ancestors' God, who had brought them out of the land of Egypt. They went after other gods from among the surrounding peoples, they worshipped them, and they angered the LORD.
13 They went away from the LORD and served Baal and the Astartes.
14 So the LORD became angry with Israel, and he handed them over to raiders who plundered them. He let them be defeated by their enemies around them, so that they were no longer able to stand up to them.
15 Whenever the Israelites marched out, the LORD's power worked against them, just as the LORD had warned them. And they were very distressed.
16 Then the LORD raised up leaders to rescue them from the power of these raiders.
17 But they wouldn't even obey their own leaders because they were unfaithful, following other gods and worshipping them. They quickly deviated from the way of their ancestors, who had obeyed the LORD's commands, and didn't follow their example.
18 The LORD was moved by Israel's groaning under those who oppressed and crushed them. So the LORD would raise up leaders for them, and the LORD would be with the leader, and he would rescue Israel from the power of their enemies as long as that leader lived.
19 But then when the leader died, they would once again act in ways that weren't as good as their ancestors', going after other gods, to serve them and to worship them. They wouldn't drop their bad practices or hardheaded ways.