Failure is a part of life. Practice being good at it.
If you know you are going to fail, fail fast. Don't make it slow and arduous.
Being gracious in defeat is a skill everyone must possess.
Even if you lose the war, don't lose the lesson.