The following quote comes from Jonathan Sacerdoti’s Israel’s triumphant response to 7 October, published in The Spectator on October 7, 2024:

Much of the concern surrounding Israel’s actions in the last year was not genuine, but a veiled excuse to criticise the state for defending itself. Critics lamented that Israel might sacrifice global goodwill in its pursuit of victory, but these criticisms are superficial and often placate those who have long sought to undermine Israel’s legitimacy. The notion that Israel should refrain from defending itself to preserve its reputation overlooks a critical reality: a nation’s first responsibility is its own survival, not global approval.

I could not have said it better myself. The essay, which discusses Israel’s national interest and the importance of deterrence in the specific context of surving in the Middle East (and especially as surving as a Jewish state in the Middle East) is worth reading in full.