Psychologists agree with Richard Branson about the best way to weather dark and difficult times. It’s not positive thinking.