Deuteronomy 9:4

ISV(i) 4 After the LORD has expelled them before you, you shall not say to yourselves, 'The LORD caused me to enter and possess this land because of my righteousness.'