Then once again I fell prostrate before the LORD for forty days and forty nights; I ate no bread and drank no water, because of all the sin you had committed, doing what was evil in the LORD’s sight and so arousing his anger.
References for Deuteronomy 9:18
I feared the anger and wrath of the LORD, for he was angry enough with you to destroy you. But again the LORD listened to me.
References for Deuteronomy 9:19
And the LORD was angry enough with Aaron to destroy him, but at that time I prayed for Aaron too.