It must be thoroughly understood that war is a necessity, and that the more readily we accept it, the less will be the ardor of our opponents, and that out of the greatest dangers communities and individuals acquire the greatest glory.
Notes from Wikiquote
As translated by Rex Warner (1954).
Variants
We must realize, too, that, both for cities and for individuals, it is from the greatest dangers that the greatest glory is to be won.