That said, I would argue that you underestimate the number of people in medicine who are burnt out. Many of my colleagues stay because it is a sunk cost financially/time-wise/reputatationally. You can pull up the numerous studies on burnout rates that have been done.
I'd anything it affirms my statement that you don't realize how much worse it could be. Like I said, there's a difference between taking down prod for 6 hours and getting sued for accusations that you killed a living being. This isn't intended to be a competition but it does become a bit absurd to watch people in the software world act like burnout from a micromanaging PM, unrealistic stakeholders, etc is the pinnacle of human suffering.
> On the whole I would rate the average software engineer as having a less stressful life than the average doctor
Those are very different statements, and I don't even disagree with the second.
Consider the possibility that the software engineers complaining the most about burnout are likely not experiencing the average amount of stress, so your casual dismissal of their suffering is really rather misplaced. Just as an example, a coworker of mine committed suicide, leaving behind his wife and two kids under ten. He didn't have it very very good.
I do entirely agree about software engineering being a lot less stressful though.
It's called "disagreeing". It doesn't "invalidate" anything.
As much as I respect your personal experience, I think you make a mistake in assuming that it is universal. Further, you are also making the mistake of invalidating other people's individual experiences based on your perception of what the average worker does.
In other words, it is trivially easy to find software engineers who are burnt out to a much nicer crisp than the average doctor, and your dismissal of their suffering won't change a thing for them.
This isn't a contest to see which profession is most toxic to its workers. Our aim should be to find ways to prevent and mitigate these situations.