They killed the cofounder of the military wing of Hamas. Hardly an innocent. Making a statement like “assasinated a person in a hotel” makes it sound like they killed some tourist rather than a man responsible for countless violence. If they assasinated Osama Bin Laden, would that be ok? As a “techie,” I would be proud to have helped take out someone like Bin Laden but I would of course, not be happy if that tech were used to intentionally kill innocent people. Ironically, the man killed had no problem himself directing the deaths of innocent civilians. It’s the difference between killing a wolf attacking kids on a playground versus shooting a family dog in someone’s living room. The two situations aren’t morally equivalent at all.
The end result of the Hamas assassination was that a violent and dangerous person who led the killing of countless civilians is dead. So yes, let’s not forget the end result — a wolf was shot before he could attack again.
I am not going to comment on intelligence services in general, but the example you provide is ironically, a counter argument for the point you seem to be attempting. You seem to be suggesting that techies generally would want to work to preserve life rather than take it and, with the Dubai operation, that’s exactly what happened: lives were saved by taking down a dangerous man with a history of leading the killing of innocent people.