Boosting psychological health may protect cognitive performance, offering a potential path to prevent dementia.