We should do our best to live decent lives. This will not guarantee that everyone will appreciate us. I'm not responsible for his bad judgment. This does not mean that one should be vain. A person can be humble and yet think of himself as worthy.
Vanity means thinking of oneself as being superior to others.
To the contrary, he should ask himself whether he has fully actualized his potential. If not, then he must do more. Humility is a feeling of not having done all that one can, and this should stimulate a person to greater achievement. We may be humble yet think of ourselves as worthy and as deserving of other's affection. An individual may have or lack self-esteem.