Having a sense of purpose is one key to a happy life. It also might protect you from being diagnosed with dementia. Those who say they feel more purpose are around 28% less likely to develop cognitive impairment, including mild cognitive impairment and dementia, according to a University of California, Davis study that followed over 13,000 adults age 45 and older for up to 15 years.