I agree. Having one good friend is better than being surrounded by fake people. I've been there.
If you're not already at this point (it took me a while), learn to love hanging out with yourself. This will help you to gain more confidence for future friendships, which will inevitably come around. I know it doesn't seem like it now, but they always do.
Good luck!