Is Vanity A Bad Thing?

The general belief is that all fitness is driven by vanity. Some of it certainly is, but is that necessarily a bad thing?