Exodus 32:11-14

32:11 But Moses sought the favor of the Lord his God and said, “O Lord, why does your anger burn against your people, whom you have brought out from the land of Egypt with great power and with a mighty hand? 32:12 Why should the Egyptians say, ‘For evil he led them out to kill them in the mountains and to destroy them from the face of the earth’? Turn from your burning anger, and relent of this evil against your people. 32:13 Remember Abraham, Isaac, and Israel your servants, to whom you swore by yourself and told them, ‘I will multiply your descendants like the stars of heaven, and all this land that I have spoken about I will give to your descendants, and they will inherit it forever.’” 32:14 Then the Lord relented over the evil that he had said he would do to his people.

Exodus 32:30-34

32:30 The next day Moses said to the people, “You have committed a very serious sin, but now I will go up to the Lord – perhaps I can make atonement on behalf of your sin.”

32:31 So Moses returned to the Lord and said, “Alas, this people has committed a very serious sin, and they have made for themselves gods of gold. 32:32 But now, if you will forgive their sin…, but if not, wipe me out from your book that you have written.” 32:33 The Lord said to Moses, “Whoever has sinned against me – that person I will wipe out of my book. 32:34 So now go, lead the people to the place I have spoken to you about. See, my angel will go before you. But on the day that I punish, I will indeed punish them for their sin.”