How has seeing a psychologist helped you?

I'm 38M, experiencing career struggles. I have seen a psychologist before and had about 10 sessions over the span of a year, but it didn't help my mental state.

I feel down about being 38 and not having a successful career. A couple of years ago, I left a good job in WA state that offered great potential due to my lack of self-belief in excelling. I had worked for years to get a job like that. I also left connections with a coworker whom I enjoyed working with, and vice versa. When I was with her, I left like I was in a place like home. My career, my connections, everything have vanished. I don't see a future, I don't know what to do, I have some savings, I don't know.

I don't know how therapy can help me.