I feel like I am underestimating how repetitive the codebases you work on are.
But personally, I get enough novel problems in programming where there is little repetition and I get to learn new patterns.
I am quite young so I might have not reached the ceiling you might be encountering.