Exodus 32:4-8

32:4 He accepted the gold from them, fashioned it with an engraving tool, and made a molten calf. Then they said, “These are your gods, O Israel, who brought you up out of Egypt.”

32:5 When Aaron saw this, he built an altar before it, and Aaron made a proclamation and said, “Tomorrow will be a feast to the Lord.” 32:6 So they got up early on the next day and offered up burnt offerings and brought peace offerings, and the people sat down to eat and drink, and they rose up to play.

32:7 The Lord spoke to Moses: “Go quickly, descend, because your people, whom you brought up from the land of Egypt, have acted corruptly. 32:8 They have quickly turned aside from the way that I commanded them – they have made for themselves a molten calf and have bowed down to it and sacrificed to it and said, ‘These are your gods, O Israel, which brought you up from the land of Egypt.’”

Exodus 32:31-32

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