Actions brings Consequences

According to the book of Deuteronomy, what was the main reason God allowed the Children of Israel to possess the land of Canaan?