“ Despite your best efforts, people are going to be hurt when it's time for them to be hurt. ”
Source: Norwegian Wood
When you stop expecting people to be perfect, you can like them for who they are.
All you can do in life is- be who you are. Some people will love you for you. Most will love you for what you can do for them, and some won't like you at all.
Somewhere along the way in your life, the world and its people will have a problem with you. That's their problem. Not yours.