You are not your company, your company is not you. Believe it or not, most (as in 99%) of businesses fail eventually. By trying your hardest you've gained an experience that will hopefully stay with you your entire lifetime. If/when you choose to start a second company, you'll have an entirely new respect for the process and have much higher chance of success.
I've been there myself. Financial/business stress is incredibly toxic, but remember that your bank account is not you. You are not your financial mistakes. These are just 'things' dictating areas of your life at the moment. You will get through this.
Listen to some of these suggestions, as I imagine most of the people who felt compelled to reach out see themselves in this post, like I did.
The only technical advice I'd like to suggest is creating structure for your day and ruthlessly sticking to it. When I was closing down my first business - that's what I had to do. I had to lock down all my hours in a day and focus on moving in the right direction.
Good luck to you. And remember - this business isn't your identity. It's just a piece of context.