First of all, I would like to say that I am quite sure that your family don’t hate you. Not at all, it’s probably quite the opposite. They love you and want what they think is best for you, and that is probably why they may try to push you into going out and doing other things that you are not comfortable about. That is their way of trying to make you conquer your fears and learn to make friends. If it feels like they hate you, it’s probably only because they are worrying about you and don’t know how to handle it.
After that, i would like to say that nothing stays the same, and just because you feel lonely right now it doesn’t have to mean that you will always be lonely. Social anxiety can get better if you get the support you need. I invite you to try to take small steps into the world outside; it may be that you go out together with someone you know and trust, smiling at strangers, saying a few words to a classmate.. Small, small steps out of your comfort zone, over and over again until they start to feel less scary. If you keep doing these small things they may even at some point start to feel normal, and then you might take another small step even further. There are also other ways for socially anxious people to make friends then going out, like for example on the internet. There are lots of sites out there where you can get pen pals, e-pals, chat pals or whatever, many sites where you can find people who share your interests and feelings. It may be a lot easier for someone with social anxiety to build a friendship through mailing or chatting, and that might make you feel less lonely. I hope this helps a bit, and I wish you all the best.