Research shows that such layoffs are often a net negative drag on companies’ financial performance over time.