I had a nervous breakdown around your age. I know, for myself, I needed to slow down, and realize the world is
hypocritical, unvirturious, and there are no simple answers.
The "successful" people around you have usually been coddled, and helped out greatly by family members. I put
successful in quotes because I'm not sure what it means
anymore. The only advise I have is slow down. You have
you whole life ahead of you. I know the thought of having
your whole life ahead of you is daunting because you don't
want a mediocre life, but don't beat yourself up you will
find many people are going through the same symptomology
as youself, but don't tell anyone. One other thing, I
don't know where you got the idead that people in tech are
here to make the world a better pace. They're here because
they want a comfortable lifestyle, and hopeing to find the
golden app, game, website, etc. In other speak, they are
trying to make money, attract the right girl(tech groupies
should be watched carefully. They can be pretty shrewd, and
use the Nerd persona to their financial advantage) and just live. Some people in this industry are so myopic they believe tech is the only way; it's not. It might not even be a viable career in a few years.
My final advise, from someone who still struggles with many
aspects of life is it gets better as you age. Your physical
sysptoms will get better. Oh yea, try to not let societies
norms, or usually misconceptions get in the way of your
happiness.