This take is pretty dumb. If someone is taking hostages, and killing some hostages guarantees that the purpertrator can't take future hostages, it's a shorty but understandable tradeoff.
In the context of of the Israel/Gaza conflict it is infinity more complex.
Please read about the history of the region and the nature of the conflict.