Legacy is an inevitability in any business - systems that were once cutting edge naturally age, but still require careful maintenance. And although it’s important work, it can feel less rewarding than working on shiny new features.
https://leaddev.com/technical-direction/changing-attitudes-toward-legacy-code