Being liked by everyone is not the point. The point is to be likeable, to be a person people wanna be around, to be the guy people wanna work with, a person they can trust, someone that is not a burden for others.
We can't pretend the opinion of others would not affect our lives, most opportunities happen due to networking, which in a sense is knowing talented people you like and they like you too, otherwise you wouldn't connect in the first place.