Exodus 32:31-35 New American Standard Bible (NASB)

31. Then Moses returned to the Lord, and said, "Alas, this people has committed a great sin, and they have made a god of gold for themselves.

32. But now, if You will, forgive their sin-and if not, please blot me out from Your book which You have written!"

33. The Lord said to Moses, "Whoever has sinned against Me, I will blot him out of My book.

34. But go now, lead the people where I told you. Behold, My angel shall go before you; nevertheless in the day when I punish, I will punish them for their sin."

35. Then the Lord smote the people, because of what they did with the calf which Aaron had made.

Exodus 32