Vanity is the excessive belief in one’s own abilities or attractiveness to others.
In many religions, vanity is considered a form of self-idolatry in which one likens oneself to the greatness of God for the sake of one’s own image.
Vanity is an example of pride, one of the seven deadly sins in Christianity.
Vanity may be a broader form of egotism and pride.
Philosophically, vanity may be a broader form of egotism and pride.