Deuteronomy 9
5 Ref Not for your righteousness or because your hearts are upright are you going in to take their land; but because of the evil-doing of these nations the Lord your God is driving them out from before you, and to give effect to his oath to your fathers, Abraham, Isaac, and Jacob.
6 Ref Be certain then that the Lord your God is not giving you this good land as a reward for your righteousness; for you are a stiff-necked people.