This is good management now, but poor management before now. To paraphrase "Manager Tools": Layoffs are the consequence of management's failing to accurately judge market conditions.
If we weren't heading into a recession, it would have been good management before now.
Hindsight is the only thing that's 20/20.