Deuteronomy 9:18-20

ISV(i) 18 I fell down in the LORD’s presence, just as I had the first 40 days and nights. I did not eat food or drink water because of your sin. You had sinned by committing this evil in the sight of the LORD, thereby provoking him to anger. 19 I feared the anger and wrath of the LORD against you, because he was irate enough to destroy you. But the LORD also listened to me at that time. 20 It was as had been the case with Aaron, the LORD was very angry and about to destroy him, but I prayed for Aaron at that time.