In the late 1960s, the American psychologist Martin Seligman discovered that animals can learn to give up, and that people can too.