HR always say "People don't leave jobs; they leave managers." That is, in my opinion, a cop out. I've worked for brilliant managers in great teams - and left because the business wasn't able to support my growth. Or because the company was ethically dodgy. Or because they just couldn't pay enough. And, yeah, sometimes I've left because of a bad boss or grim team members - but that's been a rarity. But, at the end of…
Anecdotal, but I've definitely had a situation where my team and direct manager were fantastic for two years until the director (my manager's manager) got replaced. The new direcror had a big meeting with all the managers re: "things are going to change around here!" Within a week, there was a palpable change in the office atmosphere and everything started going downhill as the managers were forced to implement policies that I know for a fact they had fought against. It wasn't my manager that was bad; but he was put in a bad position by his own management who clearly had no interest in hearing from the plebs. So yeah ... I did leave because of a bad manager; it just wasn't my direct manager.