You come to a point where you realize that you're not doing anything that creative, or nothing you haven't done hundreds of times before, maybe every few years you switch to whatever new tech stack has gotten popular, but it's fundamentally all the same. And you start to realize that everything you do has a lifespan of a few years, and then you (or probably someone else) will re-do it.
As retirement starts feeling like it is something that will happen sooner than later, you look back and see that almost nothing you've built is still in use, or will be for very long after you're gone.
I hope to retire in about two years. At that point, I plan to not be using any technology or computers in my life for a while, or as little as possible. Maybe at some point I'll rediscover some of the fun I used to have writing programs for myself, but I suspect I'll need a long break before that happens.