Deuteronomy 9:18-20

9:18 Then I again fell down before the Lord for forty days and nights; I ate and drank nothing because of all the sin you had committed, doing such evil before the Lord as to enrage him. 9:19 For I was terrified at the Lord’s intense anger that threatened to destroy you. But he listened to me this time as well. 9:20 The Lord was also angry enough at Aaron to kill him, but at that time I prayed for him too.

Deuteronomy 9:26-29

9:26 I prayed to him: O, Lord God, do not destroy your people, your valued property that you have powerfully redeemed, whom you brought out of Egypt by your strength. 9:27 Remember your servants Abraham, Isaac, and Jacob; ignore the stubbornness, wickedness, and sin of these people. 9:28 Otherwise the people of the land from which you brought us will say, “The Lord was unable to bring them to the land he promised them, and because of his hatred for them he has brought them out to kill them in the desert.” 9:29 They are your people, your valued property, whom you brought out with great strength and power.