I get you especially that part where all things started well only to end up in disappointment and hurt. Over the years I have developed distancing myself to people and not expecting anything at all from them. I have put a barrier. I guess that's why I only a couple of friends I can be open with but even that has its limits.
Quality is always better than quantity.