Optimistic beliefs about the future can protect people from physical and mental illness.