Deuteronomy 9:5

Webster(i) 5 Not for thy righteousness, or for the uprightness of thy heart dost thou go to possess their land: but for the wickedness of these nations, the LORD thy God doth drive them out from before thee, and that he may perform the word which the LORD swore to thy fathers, Abraham, Isaac, and Jacob.