I've had this happen twice in my life. The first time, I got divorced, but the real bad one was what happened years later.
In a nutshell, within the span of 2 years my girlfriend left me with our son, I lost a high paying job, I lost my house, had to move back in with my parents, and lost a lot of so-called friends. It's funny how when you aren't the picture of American suburbia, people stop returning your calls. But anyways...
I felt just like you, like I was stumbling around just waiting for the credits to roll. Everything I had worked for in life up to that point vanished, except my kids, which is what kept me going.
Eventually I found out that life is what we make of it, and sometimes we put expectations on ourselves that we don't need to. I got another job. It wasn't 6 figures, but it was something. I started dating again and met some awesome women. I made new friends at work. I started writing.
I'm not totally content with my lot in life.