Who is morally justified to take it? Is an enemy soldier justified? Are you justified in taking an enemy soldiers life? If so, why is it wrong to take your own life?
Sounds to me, that taking a life is based on relativism...sometimes it’s ok, sometimes it’s not, just depends on the circumstance.
No relativism necessary.
An innocent peron's life (including your own) is never to be intentionally destroyed. A person who is capitally guilty (generally, a pesron who has committed a capital crime liike murder, and been duly tried and convicted, or a person engaged in an act of violent aggression, e.g. a member of an invading army) can --- not ad libitum, but in certain specified circumstances --- be intentionally killed without the killing being judged as murder.
This is not relativism, because the standards are objective. It is called "justice" and "judgment."