Exodus 32:15-29 King James Version (KJV)
15 And Moses turned, and went down from the mount, and the two tables of the testimony were in his hand: the tables were written on both their sides; on the one side and on the other were they written.
16 And the tables were the work of God, and the writing was the writing of God, graven upon the tables.
17 And when Joshua heard the noise of the people as they shouted, he said unto Moses, There is a noise of war in the camp.
18 And he said, It is not the voice of them that shout for mastery, neither is it the voice of them that cry for being overcome: but the noise of them that sing do I hear.
19 And it came to pass, as soon as he came nigh unto the camp, that he saw the calf, and the dancing: and Moses' anger waxed hot, and he cast the tables out of his hands, and brake them beneath the mount.
20 And he took the calf which they had made, and burnt it in the fire, and ground it to powder, and strawed it upon the water, and made the children of Israel drink of it.
21 And Moses said unto Aaron, What did this people unto thee, that thou hast brought so great a sin upon them?
22 And Aaron said, Let not the anger of my lord wax hot: thou knowest the people, that they are set on mischief.
23 For they said unto me, Make us gods, which shall go before us: for as for this Moses, the man that brought us up out of the land of Egypt, we wot not what is become of him.
24 And I said unto them, Whosoever hath any gold, let them break it off. So they gave it me: then I cast it into the fire, and there came out this calf.
25 And when Moses saw that the people were naked; (for Aaron had made them naked unto their shame among their enemies:)
26 Then Moses stood in the gate of the camp, and said, Who is on the Lord's side? let him come unto me. And all the sons of Levi gathered themselves together unto him.
27 And he said unto them, Thus saith the Lord God of Israel, Put every man his sword by his side, and go in and out from gate to gate throughout the camp, and slay every man his brother, and every man his companion, and every man his neighbour.
28 And the children of Levi did according to the word of Moses: and there fell of the people that day about three thousand men.
29 For Moses had said, Consecrate yourselves today to the Lord, even every man upon his son, and upon his brother; that he may bestow upon you a blessing this day.