Why do I act like this and can anyone else relate?

I keep pushing good people away and isolating myself a lot. I feel really low most of the time. I just try to hide it from my friends because I don't want to be a burden... the problem is I get so frustrated and angry that I accidentally take it out on my friends (that isn't right). I told them what's going on, and they said I was threatening suicide... the truth is I'm really not doing well at all, my performance in work has dropped, I have no interest in anything anymore and haven't been eating right either... I barely have any energy, sleeping more or too little, and I'm really scared of myself because I don't know what I might do to myself.

I feel like nobody wants to be around me because of it, and I'm really lonely. Also, nobody will listen to me without judgement.

I just feel really alone in my struggles, and I don't feel good enough for anybody.
Why do I act like this and can anyone else relate?
Post Opinion