I know a few companies that treat their engineers very well (remote, good pay, equity, no overtime, ~6 weeks vacation) and they’ve barely lost anyone.
Companies like Amazon should learn from this, but they likely won’t unless their employees unionize.