When Moses went to meet God on Mount Sinai according to the Old Testament of the Bible, the Israelites, left waiting for Moses, fashioned a golden calf to worship. They were anxious and impatient during Moses' prolonged absence, so they asked Aaron, Moses' brother, to create an idol for them to worship.
In Exodus 32:1-4 (in the Bible), it's detailed that Aaron collected gold from the people and fashioned a golden calf, which the Israelites then worshipped as a representation of a deity. This act was considered a violation of the commandments, particularly against the prohibition of making graven images and worshipping idols.
When Moses returned from the mountain and saw the Israelites worshipping the calf, he was angered and destroyed the idol, holding the people accountable for turning away from God and breaking their covenant. This event is often cited as an example of idolatry and the consequences of turning away from the teachings of God.