The Bible is highly inconsistent. If you want a justification for killing people, it’s there. If you want a justification for condemning killers, it’s there, too. Whether any part of it is historical is irrelevant; what matters is that people believe in it and use it to guide their actions (or at leave rationalize them after the fact).