I wrote much the same before seeing your post. There's this very damaging selfish mindset in modern capitalism where short-term gains are the name of the game. This is especially true when a new CEO comes in from outside the company, rather than being promoted from within. They tend to be focused on achieving the next bonus, extracting as much as they can from the position, then moving on to suck the blood out of another company. This creates long-term growth problems for the companies they are a part of. Those CEOs absolutely are overpaid.Bottom line is this, CEOs tend not to care too much about the long-term viability of a company. They know they might only have the top job for 5-10 years, and they've negotiated themselves a golden parachute no matter what happens. So, they try to get as much value for their stock options as possible to enrich themselves. Nearly all CEOs are vastly overpaid.
That said, those types tend to exist in big, multi-national corporations, and not so much the small and mid-sized businesses, so I wouldn't say "nearly all CEOs are vastly overpaid". There's always just that hyper focus on the top 1%.