Deuteronomy 9:5-7 New American Bible (Revised Edition) (NABRE)
5 No, it is not because of your justice or the integrity of your heart that you are going in to take possession of their land; but it is because of their wickedness that the Lord, your God, is dispossessing these nations before you and in order to fulfill the promise he made on oath to your ancestors, Abraham, Isaac, and Jacob. 6 Know this, therefore: it is not because of your justice that the Lord, your God, is giving you this good land to possess, for you are a stiff-necked people.
The Golden Calf. 7 Remember and do not forget how you angered the Lord, your God, in the wilderness. From the day you left the land of Egypt until you came to this place, you have been rebellious toward the Lord.