Legal is legal ,,, a killing in self defense is a “legal” homicide; an execution called for in a criminal sentence is a legal homicide... etc. etc.
Probably ought to check with God on the law regarding murder.