The thing about ‘jobs’ is they pretty much all involve working for companies.
So ‘dream jobs’ and ‘nightmare jobs’ alike are going to share all the downsides of that: clueless management, misaligned incentives, layoffs, etc.
But my point is, if you’re going to have to work for a company anyway, software engineering isn’t a bad profession to choose.
Additionally, if you decide you would rather work for yourself than put up with corporate life there are few jobs that pivot as easily into starting your own business or becoming a consultant.