Deuteronomy 9:5

LITV(i) 5 It is not for your righteousness or for the uprightness of your heart that you go to possess their land. But Jehovah your God is expelling them from before you because of the wickedness of these nations; and in order to establish the word which Jehovah has sworn to your fathers, to Abraham, to Isaac, and to Jacob.