Or is my desire to have fun with my kids not relevant? Is it more important that I work all the time so that they have a chance of an upper-middle class life when I'm gone? Is it fair to reduce their chances of financial freedom later because I wanted to spend time with them now?
I dont think more hours worked corresponds monotonically with financial well-being of descendants. Learning to get things done through creative use of limited resources is an important skill for making money too. There can be value in having to do some salvage instead of having everything pre-stocked. There is also no better way to appreciate the value of a tool than to first go without it.
As for switching jobs to software, ideally, I'd find a remote job then at least that way I could be more flexible with my time and place. Although my summers wouldnt be free.