The death-penalty inflicted upon criminals may be looked on in much the same light: it is in order that we may not fall victims to an assassin that we consent to die if we ourselves turn assassins.
 Jean-Jacques Rousseau, The Social Contract (1762). copy citation

edit
Author Jean-Jacques Rousseau
Source The Social Contract
Topic death crime penalty
Date 1762
Language English
Reference Of the Social Contract, or Principles of Political Law, Book II
Note Translated by George Douglas Howard Cole
Weblink https://en.wikisource.org/wiki/The_Social_Contract/Book_II

Context

“Furthermore, the citizen is no longer the judge of the dangers to which the law-desires him to expose himself; and when the prince says to him: "It is expedient for the State that you should die," he ought to die, because it is only on that condition that he has been living in security up to the present, and because his life is no longer a mere bounty of nature, but a gift made conditionally by the State.
The death-penalty inflicted upon criminals may be looked on in much the same light: it is in order that we may not fall victims to an assassin that we consent to die if we ourselves turn assassins. In this treaty, so far from disposing of our own lives, we think only of securing them, and it is not to be assumed that any of the parties then expects to get hanged.
Again, every malefactor, by attacking social rights, becomes on forfeit a rebel and a traitor to his country; by violating its laws be ceases to be a member of it; he even makes war upon it.” source
Original quote

Meaning and analysis

write a note
report