Matthew Pearl said this quote

Longfellow smiled. A great part of the happiness of life consists not in fighting battles, my dear Lowell, but in avoiding them. A masterly retreat is in itself a victory.