“It is better to be hated for what you are than to be loved for what you are not.” Andre Gide
What this quote means is that it is better to be judged for the person you truly are, your inner self, your character, than for an image you portray to others. Creating an image to make people like you does not satisfy your inner self, since you are aware that they like the image, not the real you.
It is better to portray your inner self to everyone, your true character. Then you can make the judgement if you are happy with the love or hate you get. If you are comfortable with your self, with your character, then how others perceive you will become irrelevant. What is more important is how you perceive yourself, if you are comfortable with who you are.
You will always have an inner conflict if you create an outward image, a person you are not, in order to be loved. It will give you piece of mind to be honest with yourself.