But what if you killed someone unnecessarily, instead of scaring them off and simply letting them run away, as happened in this case?

Would God forgive you??   You don't want to make God angry at you.