Question: what does it mean when someone does something in vain?
Answer: excessively proud of or concerned about one's own appearance, qualities, achievements, etc.; conceited: a vain dandy. proceeding from or showing pride in or concern about one's appearance, qualities, etc.; resulting from or displaying vanity: He made some vain remarks about his accomplishments.