Deuteronomy 4:26
4:26 I invoke heaven and earth as witnesses against you today that you will surely and swiftly be removed from the very land you are about to cross the Jordan to possess. You will not last long there because you will surely be annihilated.
Deuteronomy 9:4-5
9:4 Do not think to yourself after the Lord your God has driven them out before you, “Because of my own righteousness the Lord has brought me here to possess this land.” It is because of the wickedness of these nations that the Lord is driving them out ahead of you.
9:5 It is not because of your righteousness, or even your inner uprightness, that you have come here to possess their land. Instead, because of the wickedness of these nations the Lord your God is driving them out ahead of you in order to confirm the promise he made on oath to your ancestors, to Abraham, Isaac, and Jacob.
Deuteronomy 30:16
30:16 What I am commanding you today is to love the Lord your God, to walk in his ways, and to obey his commandments, his statutes, and his ordinances. Then you will live and become numerous and the Lord your God will bless you in the land which you are about to possess.