Exodus 32:28-31

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.