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.”