Teaching that "if you steal, people won't like it" is not a commandment with a death sentence attached to it. It's just teaching how things work in society. But making a commandment or a law, and forcing people to obey it, in most cases is just a shield for violating this very principle by someone else.
Ah, so thats why I was taught not to steal by my school teachers, parents and other mentors. Its because they were all thieves, just trying to clear their territory of competition. I'd better go buy some locks from the lock shop...