People have been writing for much longer than writing has been a profession. And their work has been published by the means of the day, which pre-Gutenberg in the West meant hand-copying.
It's not immoral in any way to make a living off of your own creations, but - artists gonna art.