In the Book of Numbers (Ch. 22-31) we read about Israel's encounter with Balaam on their way from the Wilderness to Canaan. Balaam proposed the crafty strategy of luring Israel into sin, so that YHWH-God would revoke his protection of Israel —*then Israel could be destroyed. This under-handed under-mining of God's Folk is called the "Doctrine of Balaam", and Balaam so instructed all the leaders of Moab. Bearing this in mind, after the initial gains of the Book of Joshua, by the time Judges comes around, Israel is indeed being lured into sin, through the "Doctrine of Balaam". Furthermore, throughout the Books of Samuel and Kings - Chronicles, Israel is lured further and further into sin — until Shalmanesser, Sargon, and Nebuchadrezzar chastised Israel for her sins. I draw a connection here. I believe that the undermining of Israel, as described in Judges — Kings / Chronicles, was not just happenstance, but was rather an organized and orchestrated implementation of Balaam's doctrine by all the surrounding nations, acting wittingly in concert. In short, there was "method to the madness". (To make a crude analogy to the movie "Usual Suspects", there really was an "arch-criminal behind it all", all the sin/crime wasn't just random acts of thuggery and violence, but orchestrated according to a (subtle and sly) master plan.) Furthermore, the NT thrice refers to the Doctrine of Balaam: Jude 11 records "the error of Balaam," II Peter 2:15 records "the way of Balaam," and Rev. 2:14 records "the doctrine of Balaam." Thus, we see that this organized conspiracy to undermine Israel lasted for ~1300 years, from before the time of Joshua's conquests to the days of the Messiah Yeshua the Nazarene.