Yet the fact that shareholders want to get richer doesn’t mean that laying off people when a company is drowning in money is ethically right.
I do think it is unethical to jerk people around (e.g. new hires), but I think generous severance goes a long way towards addressing this.