Reasons for Judgment

According to the book of Deuteronomy, for what reason did God promise to drive out the inhabitants from the land of Canaan?