The Ten Commandments should be understood as a whole and not selected pieces. The first four are about our relationship with God and the last six are about our relationship with each other. God’s commands are about relationships between His children, their neighbors, and His children’s relationship with Him. Each of the Ten Commandments are different facets of the one diamond, “Me, You and God”.
Deuteronomy 5:17–21 (ESV)
17 “ ‘You shall not murder.
18 “ ‘And you shall not commit adultery.
19 “ ‘And you shall not steal.
20 “ ‘And you shall not bear false witness against your neighbor.
21 “ ‘And you shall not covet your neighbor’s wife. And you shall not desire your neighbor’s house, his field, or his male servant, or his female servant, his ox, or his donkey, or anything that is your neighbor’s.’