I think people in tech tend to underappreciate the benefits of being able to just do the job and enjoy a (comparatively) lesser-stressful life with enviable benefits. Programming is creative endeavour too, but, no one is asked to build a product that succeeds in the market; that's the job of management.
Being a writer, or a musician, on the other hand, entails a perennial anxiety over the success of whatever you're doing. How will you ever know if your next thing will be liked or not? How will you know if you should continue working on your project when it starts to feel like an incoherent mess?
I have moments of self-doubt too but I am confident that I won't suddenly cease to be a decent programmer who gets things done. For many creative people who do it full time, it means fighting the monster every day.