Of the Ten Commandments, the First and Second are considered those that are primary. The First is positive and states, “I am the Lord your God who has taken you out of the Land of Egypt from the house of slavery.” Exodus 20:2. The Second is negative and states, “You shall have no other Gods before me.” Exodus 20:3. Immediately after receiving the Ten Commandments, it seems that God is repeating the first two. The Torah says, “And God says to Moshe, Thus you shall say to the Children of Israel, ‘you have seen that I spoken with you from the heavens.’” Exodus 20:19. This is a positive statement of what God did. And it immediately follows with a negative corollary, “do not fashion with me gods of silver and gods of gold, do not make them for yourselves.” Exodus, 20: 20.
What was the need for God to repeat these again? The Rabbis were sensitive to this issue and attempted to explain that it referred either to those who serve God through the worship of the heavenly constellations or these referred to the construction of the cherubs on the aron. “Do not make an image of my servants who serve before me in heaven.” Rashi, Ad Locum.
The plain meaning of the text, however, even with the Rabbinic interpretation, is that this is another prohibition against idolatry, albeit with a broader definition of idolatry.