Are some people just meant to be lonely?

No. I think humans are naturally gregarious. As to relationships, perfection is not a reasonable expectation, of course your definition might have some bearing on that.

Relationships need care and fostering. Anything else and they won’t last.