This. 100%! I find whenever I have a career crisis, or lack of motivation, it is because of this right here.
So much code no matter where you go will be something like this. You'll have to make something work even though all the code surrounding your feature is a dumpster fire that is so hard to predict, that you'll pull your hair our worrying about all the ways your feature will break.
When I get to build a new system from scratch? It's a breeze! I get thousands of times the amount of work done in the same amount of time.