You don't need a justification for self defence. The Hamas wants to make the Jews extinct. How is that totally unrelated to Hitler wanting to make the Jews extinct?

If the US had assassinated Osama bin Laden after 9/11, would you complain?