St Therese used to say before she died that she was a saint.
It might seem like vanity, but if you know that your life could help others, would you not want to write works, as the many saints have done, that the church would benefit, and so you would have more mercy from God for saving others? Those who can benefit the faith ought to write works, it is their duty, and if they hope to be honored because of their works, so be it, that is part of their reward. They will have spiritual children to call on them if they go to heaven.