Wow. I'm so sorry to hear. I have an idea as to how you are feeling. I just turned 39, hubby and I are both on disability. Finally got financing for a house. Small house, but would have been ours. Unfortunately the builder was bad news so we had to walk away. We're still trying to get our deposit back. Our health has suffered from the stress and from living in a toxic loud rental we both hate while we wait for a way out of all this.
We have been waiting to have the stability necessary to have kids - housing and health wise. My biggest dream/wish is to be a mom. Now it feels like yet another huge setback after years of struggle and investing so much in trying to regain our health etc. since the house thing fell through. I'm not getting any younger, but I still hold to the hope that we will somehow gain back our health and stability enough to start a family. If I'm not giving up, then neither should you, kay?
I just get by by taking it one day at a time. And understanding that there is still a future to hope for, even if right now sucks in every way I can think of at times. Try not to focus on how things look right now, or to take on everything at once. That's when the depression and overwhelm come along. Just do what you can, and know that one step at a time you will get through this and you will rebuild your life.
I have felt the same as you describe at times - like I was so close to a mental/emotional break down. What got me through was my faith. Even if you don't believe in God, you can still recognize that life ebbs and flows, and things will be okay again. And realize that human beings are AMAZING creations - we have a huge capacity to survive and bounce back. So try not to listen to the thoughts that tell you you're gonna lose it. You are stronger than that. But let me say, it's okay to have a good cry! And try exercising to get some of the pain out. I ride my bike a lot when it all piles up and it helps. Or I scrub floors/clean house like mad! :0)
It will get easier as time goes by. Right now, you've been through something heartbreaking and so much invested in it. But even though it feels like the end of the world, it isn't. There is still hope. Don't give up.
Post here all you need. There are wonderful people in this forum who will be here for you.