Deuteronomy 9:3-9 WMBBE

3 Know therefore today, that the Lord your God is he who goes over before you as a devouring fire. He will destroy them, and he will bring them down before you. So you shall drive them out, and make them perish quickly, as the Lord has spoken to you.

4 Don’t say in your heart, after the Lord your God has thrust them out from before you, saying, “For my righteousness the Lord has brought me in to possess this land;” because the Lord drives them out before you because of the wickedness of these nations.

5 Not for your righteousness, or for the uprightness of your heart, do you go in to possess their land; but for the wickedness of these nations the Lord your God does drive them out from before you, and that he may establish the word which the Lord swore to your fathers, to Abraham, to Isaac, and to Jacob.

6 Know therefore, that the Lord your God doesn’t give you this good land to possess for your righteousness; for you are a stiff-necked people.

7 Remember, and don’t forget, how you provoked the Lord your God to wrath in the wilderness. From the day that you left the land of Egypt, until you came to this place, you have been rebellious against the Lord.

8 Also in Horeb you provoked the Lord to wrath, and the Lord was angry with you to destroy you.

9 When I had gone up onto the mountain to receive the stone tablets, even the tablets of the covenant which the Lord made with you, then I stayed on the mountain forty days and forty nights. I neither ate bread nor drank water.