This happened to me. I got a PhD and expected to be able to get a tenure track job in academia. Sure, it's hard. But it wouldn't be me that failed at it, right? Wrong. Three years later, no job, scraping by on adjunct work.
I went back to law school. Sometimes you have to redefine your life in a way that gives you new opportunities. Does it still hurt that I couldn't get my dream job? Yeah, but I have a lot of good I can do for the world in other ways, and I'm not going to let that dream's death prevent me from doing it.
Adopting kids ain't easy. People always say "you could just adopt" but they don't realize just how much expense is involved. It could easily cost $50k.