My experience with corporate jobs is that there are three categories of work that you may get to do:
1) Good work (career enhancing).
Examples are greenfield development of complex systems where you get to choose
the languages, libraries, framework, architecture. You also learn domain
knowledge...