Know your musical boundaries and find a balance between work and that spark which made you want to be a musician in the first place. Keep your ego in check. You need to be playing what is appropriate for the occasion. If you can't stand having the person who hired you telling you to turn it down, don't agree to do the gig. If you are not willing to teach a student the new flavor of the month, don't teach.
Most musicians have some sort of dysfunction.
Eventually, one has to deal with this. If music always feels like a job, you need a better balance with creative outlets that give you artistic satisfaction. Keep your work your work, and your art your art. Don't forget perspective. Figure out what you dig and do that.