It is true that what someone looks like is not the totality of their worth but holy cow, people who exercise to improve themselves is not pure vanity.
Is getting a haircut pure vanity? Brushing your teeth? Should people get braces? Should people do anything to improve their self esteem or is that vain too?
Making judgments on someone’s ‘morality’ because they work out is bizarre.