Personally, it seems like there is some negativity around this whole issue. For starters, no one is going to want to befriend anyone who thinks that the world and the people in it suck.
Additionally, most people honestly don't give a crap whether you have zero friends or a million friends. What they care about is do you have their best interest at heart; can you empathize and hold their hand when things get tough; can you cheer them on when they need it; and be honest about things instead of just telling them what they want to hear.
Obtaining friends is a lot less about you than it is about how you make someone feel. If you make them feel that they have someone in their corner who will also tell them when they're full of crap, you're pretty golden.
I see a fair amount of "I don't have any friends" here, and I think that a lot of the reason for that is that you're making the issue all about you when people want a connection, not someone to worry about if they're being liked. In essence, friendship, like any relationship, is 2-way street, both parties have to want to show up. And if you make people feel good about themselves, you're well on your way to making a friend.