Deuteronomy 7:7

7It was not because you were more in number than any other people that the Lord set his love on you and chose you, for you were the fewest of all peoples,

Deuteronomy 9:4

4 a“Do not say in your heart, after the Lord your God has thrust them out before you, ‘It is because of my righteousness that the Lord has brought me in to possess this land,’ whereas it is bbecause of the wickedness of these nations that the Lord is driving them out before you.
Copyright information for ESV