Exodus 32:28-35

32:28 The Levites did what Moses ordered, and that day about three thousand men of the people died. 32:29 Moses said, “You have been consecrated today for the Lord, for each of you was against his son or against his brother, so he has given a blessing to you today.”

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

32:35 And the Lord sent a plague on the people because they had made the calf – the one Aaron made.