This generation of CEOs will go into the history books as the worst.
They don't put enough consideration into whether they need more people. They adopt the Project Manager mindset of thinking 9 women can produce a baby in 1 month if they work together.
Just because 20 engineers produced a product that created a product that produces $100M ARR doesn't mean that 100 engineers will produce a product that produces $500M ARR.
So the solution is, "never hire headcount to work on a project that might not be financially viable in a recession"? Help me see another solution here.
Last year when Google laid of their big tranche they moved a ton of those projects to india.
Just look at the recent HN articles about Bending Spoons laying off entire companies in mergers.