God hates pride and vanity. He refers to these life choices as sin. He tells us He will not endure these choices. He equates one who chooses them as a way of thinking and acting as fools!
These two attributes are very destructive when used and the father of these attributes is none other than Satan the devil! When elected for use in our lives they cause contention and shame and are equated with the evil way.
When we do see these creep, subtly, into our thoughts and actions, we must repent, immediately, of this error, and pray for God’s help in our being able to replace them with humility in the way we direct our lives.