It is almost as if humans are not made for sitting 8-10 hours learning abstract stuff and thinking really hard about imagined logic puzzles in constant stress.
The fact that a programmer would quit their 50h/w job, which they hate, to then take on a personal 80h/w project (open source, saas, educational, etc), which they enjoy, suggests that the malaise has little to do with the craft.