Edit - To be clear, since my reply got some upvotes, I meant that I enjoy being the senior developer diving into the legacy code. I actually really like it!
I might be in the minority, but I get more excited about the idea of maintaining/working on some creaky old legacy code base than I do about the idea of starting a new project from scratch.
I've gotten to spend some time where my major responsibility was to refactor and improve "research-grade" code from some scientists. Felt like tending a Zen rock garden, but code lol, I found it really relaxing and lovely.
Used to do that when I was working in science. I also kinda loved it. Just interesting to intimately experience how people thought back in the 80s. There are surprisingly many Fortran 77 libraries still in use today (they can be called from modern Fortran code).
don't worry, it takes atmost three months for that fresh code to become legacy code bogged down by decisions done in anticipation of things that never happened :)
it can be really satisfying too. remember in late 1998 i got a project to run all by myself. y2k secure a personel administrative system written in cobol running on os/2. for a large company. it was 2.6 million lines of code when i started and 1.8 million lines when it was secured.