Yes but try to apply the same rules to real life and people will laugh at you.
How many times do you see the hero having to choose between killing the villain and leaving him to the legal system (not justice system) to give him a lesser punishment?
This whole story was started by the fact that countless people have begun to revere Luigi Mangione as a Robin Hood-like folk hero. Whatever taboo put in place against violence seems to have failed in this case.