Anduru saidI guess it affects me because I'm a terrible person and have barely any friends.
You are NOT a terrible person! You just have a terrible main pic. (OK, OK, I can't keep myself from being silly)
Let me tell you a story: all my life I've had bad luck (Karma if you like). If something can go wrong for me, it will. Many years ago I began to call it my "negative lottery."
A "positive lottery" is when you win something good, against difficult odds. Like an actual lottery itself, or any of the other random occurrences in life that are either good for us, or bad for us, largely based on chance.
But the lottery I always win is the negative one. If the government screws up somebody's records, a 1-in-50,000 chance, it'll be mine. If an important letter gets lost by the Postal Service, it'll be mine. If a doctor's waiting room overlooks a patient's appointment, and leaves him waiting for 2 hours, it'll be mine. But you think I'll ever win the real lottery, or even a door prize? No way!
So I just laugh and take it in stride. If there is a God apparently he gets His jollies by playing jokes on me, a modern day Job. My life is like defensive driving in a car: I anticipate the curves I'm thrown, and expect to deal with them. My life is constructed of redundancies & backups, because I always need them. Nothing EVER goes as I planned, and certainly not to my advantage.
But I don't interpret this to mean I'm a terrible person. Just an unlucky one. And I draw strength from overcoming one obstacle & setback after another. I'm never better than when I'm dealing with adversity. In a calmer life I'd probably die of boredom.
As for friends, I couldn't say, not knowing you. You WON'T have friends if you THINK you're a terrible person. I don't think I'm terribly terrible, and I have tons of friends. You might, as we used to say in the Army, need to have your head screwed on a little tighter, and then you'll have all the friends you can handle. And start by not calling yourself a terrible person.