Deuteronomy 9:4
"Do not think in your heart, after the LORD your God has cast them out before you, saying, "Because of my righteousness the LORD has brought me in to possess this land'; but it is because of the wickedness of these nations that the LORD is driving them out from before you.