Norman Vincent Peale said this quote

Part of the happiness of life consists not in fighting battles, but in avoiding them. A masterly retreat is in itself a victory.