Now this doesn't mean you have to go crazy trying to satisfy everyone because you can't. People want contradictory things from you. You need to have your own moral or other principles to keep on track of a certain path in the face of rejection. But if everyone thinks you're an asshole, the answer isn't to just ignore everyone.
I think a better lesson is that it's better to have some haters and some who really like you than to have everyone be lukewarm about you and ignore you. The haters are no big issue unless they are really determined enemies, and the upside of the truly appreciative people is bigger. You can only get true deep connections if you accept the risk that some people won't like you. As long as you try to please everyone you won't really please anyone. See the story of the miller and his son.