If you replace 'developer' with plenty of other job roles, then everything here still applies.
There is /no/ job that allow you to ignore all risks a business has like a hobby does. That is the difference here.
>If I won the lottery would I still code? I would, but it would not be like work. It would be projects I enjoyed. And it would be fewer hours.
>I took the developer job because the medical bills piled up
You want it to be a enjoyable job with lower hours, but you don't want deal with hardship that comes with it? You can't have it both ways.
There is /no/ job that allow you to ignore all risks a business has like a hobby does. That is the difference here.
>If I won the lottery would I still code? I would, but it would not be like work. It would be projects I enjoyed. And it would be fewer hours. >I took the developer job because the medical bills piled up
You want it to be a enjoyable job with lower hours, but you don't want deal with hardship that comes with it? You can't have it both ways.