Honestly, I can't say I really understand. I empathize for sure, but I guess it's just how vague the phrase "I screwed up my own life" is. Is it like, I will end up in jail and everyone hates me bad? Or is it I dropped out of high school because of a drug addiction bad? Or just a people don't liked me bad? Honestly, I hate my life, but I for sure recognize that my life could get a lot worse. I have like two friends, and they don't really like talking with me, and my parents really couldn't care less if I ctb. However, I'm still in college, have decent grades, and will potentially have a soul crushing career eventually. Is it the panic disorder and depression alone that's causing you to screw up your life, or are there other factors as well?
On another note, if this is a less rational type of feeling, I can empathize. I don't really understand, but I've seen a similar situation unfold with one of my former friends. He was (arguably) rude to one of his friends and felt like he couldn't be friends with anyone anymore because of how terrible of a person he was. It really hurt me to be honest, because I always liked him, but eh. Shit happens sometimes.
Anyways, I will say this... There may be recovery... I'm not going to be one of those optimists or pessimists and tell you there will be recovery or cannot be recover from whatever you're going through because 1. I don't know you or what you're going through 2. I'm not precognitive 3. Nothing is ever certain or impossible. But I sincerely hope that you can talk to others about this, and I'm glad that you've at least reached out to people here. If you ever need to chat, I'm more than welcome to do so through DMs.