Deuteronomy 9:4

CLV(i) 4 Do not say in your heart when Yahweh your Elohim thrusts them out from before you, saying:Because of my own righteousness Yahweh brings me in to tenant this land. Rather it is because of the wickedness of these nations that Yahweh is evicting them before your face.