The quote was about the 'enemy'. Many civilian governments will end a war, before the military would have.
I'm sure there are a lot of examples in both directions, they should have just walked away sooner, or they should have stuck it out and all died gloriously.
Example: The German Military didn't want to end WW1, wasn't it the civilian government. But, weren't they actually really beat?
Or Vietnam. Did we lose? Or were we convinced we had lost.
It is possible to be 'defeated' but just not accept it. The never give up attitude leads to extra deaths.
What if Japan had this attitude, and we just kept dropping atomic bombs until the country was gone.
Guess goes back to some other quote I can't cite. War is easier to start than to end.