I don't think I could put up with spending months writing something I couldn't stand.
Absolutely. But first I seek publishers who want the sort of stuff I write -- so that it isn't a fatal compromise.
The question becomes one of degree. How much time is spent, how much integrity lost, compared to renumeration in terms of money and prestige.
If I wrote a screenplay and the producer is paying me $500,000 then wants me to change my orphan boy in reform school into a ballerina in dance class: No problem. You got yourself a ballerina.
If the editor is paying me $100 and wants me to change the word azure to blue: that is cool, blue will do.
If I have to put in a lot of work, put in a lot of time, while getting zilch pay, then the publisher had better offer a lot of prestige or be a charity I really care about.
Writing is not just a creative art: it is a business.
Writing is not just a business: it is a creative art.