I saw a discussion about tech layoffs few weeks ago. Someone had noted that layoffs should have come as no surprise when you had employees bragging about how little work they were doing. This comment stirred up a lot of people calling the poster heartless and saying things like "these people have families".
That is such a naive perspective of the world. These are businesses and their goal is to make as much money as possible. That means they strive to be as efficient as possible. I don't know where the expectation that they should function as charities or job programs came from.