Whether it is vanity or not is not determined by what you are doing, but why you are doing it. The vanity is not intrinsic.