[/nq] The same idea is expressed by Voltaire in "Candide" (1759). When Candide asked why the English had shot their Admiral (the one who had failed to execute his orders to invade Mallorca), he was told this drastic action had to be taken "pour encourager les autres". Same irony, different wording.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.