Let me give you an actual scenario.
Somebody that you love is being doused with gasoline. The person that is dousing your loved one is going to burn them alive.
The ONLY way to stop it is to kill the person.
Do you kill the person?
In every scenario, I follow the teaching and example of Jesus and the apostles.
btw, welcome to the forum.