one's future course; what to do with oneself
Refers to deciding one's next step in life, especially after a major change such as quitting a job, graduating, or ending a relationship. Often used with verbs like 決める, 考える, or 悩む.
I'm thinking about what to do with myself after leaving the company.
He is struggling with what to do with his life.