Divine grace
In many religions, vanity, in its modern sense, 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, and thereby becomes separated and perhaps in time divorced from the Divine grace of God. In Christian teachings, "vanity" is an example of pride, one of the seven deadly sins. Also, in the Baháʼí Faith, Baha'u'llah uses the term 'vain imaginings'.