As a Pattern of Future Events, a New Generation Arises That Forsakes the Lord and Serves Baal and Ashtaroth. The Lord Is Angry With the Children of Israel and Ceases to Preserve Them. He Raises Up Judges to Guide and Lead Them. The Canaanites Are Left in the Land to Test Israel.
10 And also all that generation were gathered unto their fathers: and there arose another generation after them, which knew not the Lord, nor yet the works which he had done for Israel. . . .
12 And they forsook the Lord God of their fathers, which brought them out of the land of Egypt, and followed other gods, of the gods of the people that were round about them, and bowed themselves unto them, and provoked the Lord to anger. . . .
17 And yet they would not hearken unto their judges, but they went a whoring after other gods, and bowed themselves unto them: they turned quickly out of the way which their fathers walked in, obeying the commandments of the Lord; but they did not so. . . .
20 And the anger of the Lord was hot against Israel; and he said, Because that this people hath transgressed my covenant which I commanded their fathers, and have not hearkened unto my voice;
21 I also will not henceforth drive out any from before them of the nations which Joshua left when he died:
22 That through them I may prove Israel, whether they will keep the way of the Lord to walk therein, as their fathers did keep it, or not.
Elder Dallin H. Oaks said:
“We read again and again in the Bible and in modern scriptures of God’s anger with the wicked and of His acting in His wrath against those who violate His laws (see, for example, Judges 2:12–14; Psalm 7:11; D&C 5:8; 63:32; 2 Kings 23:26–27; Ephesians 5:6; 1 Nephi 22:16–17; Alma 12:35–36; D&C 84:24). How are anger and wrath evidence of His love? . . . God’s love is so perfect that He lovingly requires us to obey His commandments because He knows that only through obedience to His laws can we become perfect, as He is. For this reason, God’s anger and His wrath are not a contradiction of His love but an evidence of His love. Every parent knows that you can love a child totally and completely while still being creatively angry and disappointed at that child’s self-defeating behavior.”
(“Love and Law,” Ensign or Liahona, Nov. 2009, 27.)