Deuteronomy 9:5-7 Complete Jewish Bible (CJB)
5 It is not because of your righteousness, or because your heart is so upright, that you go in to take possession of their land; but to punish the wickedness of these nations that Adonai your God is driving them out ahead of you, and also to confirm the word which Adonai swore to your ancestors, Avraham, Yitz’chak and Ya‘akov. 6 Therefore, understand that it is not for your righteousness that Adonai your God is giving you this good land to possess.
“For you are a stiffnecked people! 7 Remember, don’t forget, how you made Adonai your God angry in the desert. From the day you left the land of Egypt till you arrived at this place, you have been rebelling against Adonai.