Another way to say "cutting your hair is for vanity." is "You cut your hair because you are vain."