For those who are struggling to find meaning or purpose right now, there can be few better motivators than spite towards those who would wish to see you defeated.
As my grandmother once said while reading the obituaries: Ha! I outlived the bitch!
40-60 year old people get laid off daily after 15+ years in an industry and have to restart. You’re too young to even know life’s all about restarting and it’s all relative. Fall in love with the process of learning and it’ll never be scary. You might even end up loving what you pivot too. You’ll be fine.