Be who you want to be and accept that not everyone wants that person.
That'd be easy when rejected outright. Not when your contacts with the person you like have made you lower your guard and start believing that they may accept you, and then they just ... throw you out.
I'm starting to appreciate the traditional way, where you know whom you can meet and possibly marry and whom you can't. It's a cultural thing, and some people's upbringing is just incompatible with mine. I wouldn't ever do anything like that to a person who'd like me even if I didn't like them, it's like throwing out a dog or a cat.
A bit like those societies where lynching is normal - if it's a crowd doing it, then it's not a crime. So having grown up in many families, girls and boys think that if for some reason another side seems weak or ill or depressed and in general not fun, that requires no effort on their side, just look for someone more fun, no humanity required. I fail to see how such people are going to create families of their own and have children, though.