I started to do less and eventually no programming outside of office hours and instead invest my spare time in different hobbies and experiences.
I found gaining these new skills really helped build my confidence. 15 years later I'm not just a programmer, I'm a also a motorcyclist, experienced carpenter, been a member of certain meet up groups for over a decade, travelled to a few exotic locations, flown upside down in a plane, the list goes on.
None of these things are exceptional but doing this extra stuff has given me enough dimensions that I kind of feel comfortable with the way I've done the last 15 years. This along with starting a relationship and building a family is enough for me now.
Sure, I could have done more but compared to the corporate quagmire of my 20s things are very different.