I guess it stems from the fact that developers are one of the few groups which CAN dictate some things.
We do forget that other jobs come with 14 hour shifts, no breaks, no health insurance, and constantly being on-call for a 5th of the salary.
That doesn't mean that devs shouldn't push for decent conditions though.
Also, while devs "have it good," it's nothing near what lawyers and doctors made, so before patting ourselves on the shoulder and thinking we made it, we should keep tht in mind.