Exodus 32:29-33
English Standard Version
30The next day Moses said to the people, "You have sinned a great sin. And now I will go up to the Lord; perhaps I can make atonement for your sin."
31So Moses returned to the Lord and said, "Alas, this people has sinned a great sin. They have made for themselves gods of gold.
32But now, if you will forgive their sin — but if not, please blot me out of your book that you have written."
33But the Lord said to Moses, "Whoever has sinned against me, I will blot out of my book.