Deuteronomy 9:4-5

ACV(i) 4 Do not speak thou in thy heart, after LORD thy God has thrust them out from before thee, saying, For my righteousness LORD has brought me in to possess this land. Whereas for the wickedness of these nations LORD drives them out from before thee. 5 Not for thy righteousness, or for the uprightness of thy heart, do thou go in to possess their land, but for the wickedness of these nations LORD thy God drives them out from before thee, and that he may establish the word which LORD swore to thy fathers, to Abraham, to Isaac, and to Jacob.