Great losses can cause existential crises, and it can be difficult to bring yourself back from the depths. To turn things around, you have to identify the root causes and address them one at a time.
https://yourmeaninginlife.com/blog/what-is-causing-your-existential-crisis
You decide what meaning the events in your life have to you.
https://yourmeaninginlife.com/blog/you-can-find-meaning-in-whatever-happens-to-you
Asking where you see yourself in five years is a good exercise to determine both where you're going and what you want to be doing today to reach your desired future state.
https://yourmeaninginlife.com/blog/where-do-you-see-yourself-in-five-years