I was fortunate to be well off financially after 5 months to walk away from the consulting job. My wife didn't see it because I hid it from her. I reached a braking point when I walked way from the consulting & was well supported by the engagement manager. I took two months off, I started seeing a counselor (virtually, thanks COVID-19), and I started on Prozac. I'm not "done" yet, but I'm an order of magnitude closer to who I was before all this happened. I've started to gain weight back. Suicide no longer holds its appeal. I can consider the idea that there might be a world after the year 2020, and that I should be a part of it.
Sorry - I know this is rambling. Let me pull back to my point: getting help is the only thing that would help. If you could change yourself, by yourself, you would have by now. It takes the push of someone else's perspective to move you, because you simply can't move yourself. Your best bet is a professional - you have your own bias and trust issues with friends & family, no matter how much they mean to you. Hang in there. No matter how bad life gets, don't let anyone, let alone you, tell you that you don't deserve to be a part of it.