Edit: This is not necessarily in support of the grandparent comment; rather, a caution against judging a culture based on historical anecdotes.
Not all failure results in capture, so one particular failure scenario does not speak of the general view on failure.
Also, going to war is inherently already a massive corruption of culture.
Sources? I have never heard of that yet.
Can I ask where your disbelief is sourced?
If you think that the domestic propaganda machine wasn't running at mach speed in order to shape public perceptions to what would be most beneficial to the Imperial Army and Navy, I don't know what to say. They definitely were, and they definitely pushed, from multiple angles, the idea that surrendering would result in a worse spiritual, material, physical, and psychological outcome than the alternatives (take your pick of whichever motivates you most effectively).
There are degrees of failure, some is considered to be beyond fixing.