There is a stark generational divide in people’s financial resilience and outlook, according to a new study.