To dream of vanity represents feelings about yourself or someone else that doesn’t like doing something difficult because it won’t look good. Superficial solutions to problems.
Example: A man dreamed of being told he was being punished for his vanity. In waking life he was experiencing a significant drop in customers to his business because he failed to perfectly correct a problem. He used a superficial solution that was turning off customers because it wasn’t really doing anything except appearing to hide the problem.