If your prior employer kept you for half a decade before you departed for Amazon, and the employer after Amazon keeps you for years, yet your stint at Amazon lasts under 2 years, that failure reflects on Amazon.
Spending the money to recruit the employee, then pay them for a year or two, only to lose this talent is a great way to light cash on fire. That ain't cheap when your talking about hiring software developers!