What if this is not a mistake? If you have 5 people and 10 projects, you hire 5 more to meet the need. If 4 projects go away, you fire 4 people as some would have nothing to do.
Where is the mistake?
I’m not saying it is always like this and the scenarios above is simplified to illustrate a point. However, it would be silly to assume all companies always grow in headcount, and any downsizing is the CEO somehow messing up.