Deuteronomy 7:8

7:8 Rather it is because of his love for you and his faithfulness to the promise he solemnly vowed to your ancestors that the Lord brought you out with great power, redeeming you from the place of slavery, from the power of Pharaoh king of Egypt.

Deuteronomy 9:5

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.