Exodus 32:6

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.

Exodus 32:17-19

32:17 When Joshua heard the noise of the people as they shouted, he said to Moses, “It is the sound of war in the camp!” 32:18 Moses said, “It is not the sound of those who shout for victory, nor is it the sound of those who cry because they are overcome, but the sound of singing I hear.”

32:19 When he approached the camp and saw the calf and the dancing, Moses became extremely angry. He threw the tablets from his hands and broke them to pieces at the bottom of the mountain.

Exodus 32:27-28

32:27 and he said to them, “Thus says the Lord, the God of Israel, ‘Each man fasten his sword on his side, and go back and forth from entrance to entrance throughout the camp, and each one kill his brother, his friend, and his neighbor.’”

32:28 The Levites did what Moses ordered, and that day about three thousand men of the people died.