Jean-Jacques Rousseau said this quote

Even the soberest judged it requisite to sacrifice one part of their liberty to ensure the other, as a man, dangerously wounded in any of his limbs, readily parts with it to save the rest of his body.