That's a very simplistic way of looking at the world. It turns out that things are frequently more complicated than absolutist rules allow for, and the world isn't a series of black and white with bright lines between them. Most people are actually very much okay with "Thou shalt not kill" being quite a bit more nuanced in reality, because it turns out most real-world moral questions are a little more complicated than single questions.