My dentist gives me a guilt trip about flossing on every visit. I've always thought that was a bit odd because it would be in his best business interest for me to neglect my teeth.
Compare him to the programmer who creates an extensible open framework, as opposed to the guy who throws together a dense hack that only he understands. The latter could be said to be acting more in his own interest, but the former is more dedicated to his profession and the greater good.
Longer term, not so much. As word gets around that he isn't a good dentist, he will have fewer customers.