Technical debt is hard.
It’s hard admitting that technical debt even exists. Admitting it exists means that you’re admitting to maintaining code you’re not proud of. It may not be code you’ve written, but on the other hand it may very well be. Part of growing is learning, part of learning is to recognize that what you’ve done before could have been done better.