Answer:
Utilitarianism.
Step-by-step explanation:
The utiliritarianism is an theory that asserts that you have to do what benefits the greatest number of people. If you kill someone that is a danger to society in order to protect other people, you will be doing what is ethic in that situation.