To be a writer does not mean to preach a truth, it means to discover a truth.
Vanity and pride are different things, though the words are often used synonymously.