Because not everyone think the same. We are not machine where everyone run the same software. Some people like chocolate, some people hate chocolate. Likewise some people think murder is good, some people think its bad.
Humans are not a chaotic collection of random emotions and opinions. You'll find that those who like to eat dirt and murder others are far outnumbered by those who like chocolate and want to live in harmony.