And when Aaron saw it, he built an altar before it; and Aaron made proclamation, and said, “To morrow is a feast to the LORD.” Exodus 32:5
The above text is from hearing that Moses has been gone for a few days, and the people are desiring to have some semblance of spiritual leadership. They decide to set up a golden calf. It is probably so that Aaron feared for his life if he rejected their requests so he request their golden ear rings and such other that they have, and makes this object of rejection of holy GOD.
In an attempt to keep the people reminded of Jehovah/YHWH, Aaron builds an altar, it seems, to worship the true God. It falls short of what God calls for. He is a Jealous God. There can be no other that His people worship. His jealousness is named in the second commandment (Exodus 20:5), and it is mentioned once again in Exodus 34:14,”For thou shalt worship no other god: for the LORD, whose name is Jealous, is a jealous God…” That is exactly what Aaron had led them to do.
There is only One God and He is known by Father, Son and Holy Spirit. He can only be known through His Son Jesus Christ, the Savior of the world who died on the cross to redeem us from sin, He was buried not only to show that He died but to carry away our sin, guilt and condemnation; and He rose again and came out of the grave for our justification. Through Him alone can we know God, and worship Him as we ought.