I feel like I was in a similar boat to you. I was living somewhere I didn't like, doing work I didn't like, and felt like I didn't know where I was going. I decided to shake things up and move to the Bay Area and force myself to be more social. A months later, I met the woman who would be my wife before I moved and stayed around with her to try out the relationship. It worked at well. We live in the bay now and just had our 2nd child. My life and work have purpose and I am happy. It was not always easy, and it feels awful right now. Good luck, I hope you find what I have.