The following day Moses said to the people, "You have committed a great sin. Now I will go up to the Lord; perhaps I will be able to pay for your sin."
References for Exodus 32:30
So Moses returned to the Lord and said, "Oh, this people has committed a great sin; they have made for themselves a god of gold.
Now if You would only forgive their sin. But if not, please erase me from the book You have written."
References for Exodus 32:32
The Lord replied to Moses: "Whoever has sinned against Me I will erase from My book.
Now go, lead the people to the place I told you about; see, My angel will go before you. But on the day I settle accounts, I will hold them accountable for their sin."
And the Lord inflicted a plague on the people for what they did with the calf Aaron had made.