The business exists to make a profit, and it needs to perform financially as well as possible this quarter.
That does not always align with what is most interesting for a developer to pursue.
So in the short term and medium term, these goals are usually at odds. In the long term, you can find harmony between them sometimes if you try really hard.
It's impossible by definition for them to be in harmony all the time. Too bad, but that's reality. Each individual developer has to occasionally re-align them by making a job change.
That does not always align with what is most interesting for a developer to pursue.
So in the short term and medium term, these goals are usually at odds. In the long term, you can find harmony between them sometimes if you try really hard.
It's impossible by definition for them to be in harmony all the time. Too bad, but that's reality. Each individual developer has to occasionally re-align them by making a job change.