Joshua 13-17 (The Daily Walk Bible).
God was giving the land to the Israelite’s not only because they were His chosen people, but because of the iniquity of the inhabitants of the land: “Do not make yourselves unclean by any of these things, for by all these the nations I am driving out before you have become unclean, and the land became unclean, so that I punished its iniquity, and the land vomited out its inhabitants” (Leviticus 18:24-25). In fact, the Israelites were His chosen instruments to accomplish His purpose. However, He warned them about what would happen if they didn’t finish the job: “But if you do not drive out the inhabitants of the land from before you, then those of them whom you let remain shall be as barbs in your eyes and thorns in your sides, and they shall trouble you in the land where you dwell” (Number 33:55). However, God foresaw their disobedience, and used it for His purposes: “Now these are the nations that the LORD left, to test Israel by them, that is, all in Israel who had not experienced all the wars in Canaan” (Judges 3:1). Here we once again see God’s sovereignty. God continually uses events in our lives to teach, guide, and direct us, even when we mess thing ups. Romans 8:28 reminds us that “for those who love God all things work together for good, for those who are called according to his purpose.”