I'd like to add all the previous comments that this mindset of stating you as a total failure, although may be very intense and constant, is unrealistic in it's own terms. It's virtually impossible to be such a person that has no qualities or people that care for them (even if your deepest feelings tell otherwise). It's not just because we fell in some way that it is real. I know that it's not as simple and straightforward as this sentences may appear, but at the end of the day this is the reality. As others have said, you have value and dignity simply being alive, and we might try begin to see life as this little and brief moment in which we do our best and hope to build some good influences around us. The rest is accessory. All the best for you, friend!