Deuteronomy 9:4

AKJV(i) 4 Speak not you in your heart, after that the LORD your God has cast them out from before you, saying, For my righteousness the LORD has brought me in to possess this land: but for the wickedness of these nations the LORD does drive them out from before you.