Sun Tzu, The Art of War

Whether in an advantageous position or a disadvantageous one, the opposite state should be always present to your mind.