The second commandment is talking about the Idol worship. God is against all kinds of Idol worships. YHWH is the only God to be worshiped all over the world.
Introduction: This second command precedes all other eight commandments. In God’s sight the Idol worship leads to all sins. If a person keeps himself away from Idol worship, he will keep himself from every sinful life.
1. NOT TO MAKE ANY IDOL V.4.