Exodus 32:2-4

32:2 So Aaron said to them, “Break off the gold earrings that are on the ears of your wives, your sons, and your daughters, and bring them to me.” 32:3 So all the people broke off the gold earrings that were on their ears and brought them to Aaron. 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.”

Exodus 32:24

32:24 So I said to them, ‘Whoever has gold, break it off.’ So they gave it to me, and I threw it into the fire, and this calf came out.”