I'm curious - how do you explain the fact that as you look all around you, lesser number of devs are having fun?
Now they took away coding by hand, so what's there to enjoy? In a field that was already sensitive to burn out and churn taking the joy from the daily routine doesn't help with that.
Only thing you can do is get in build something for 2 years hope you got bought by big tech before the pile of slop code collapses on itself.
Those are all self inflicted and not a necessary part of the job.