The universe is not so generous as to make clearly differentiable "good" and "bad" things, more often than not they are two sides of the same coin. We don't want the AI to know how to kill people, but we do want it to be in expert in how not to kill people, which is the same thing as being in expert in how to kill people. In our reality this symmetry pops up everywhere.