That would actually explains non-profit-seeking organizations that degenerate and focus just on surviving and getting bigger and bigger. The unnecessary costs are the original intent, the necessary costs are feeding the bureaucratic machine.
In my experience, nonprofits do accrue a bit of needless fat that is often justified by their compassionate mission. BUT, even then, only by so much. They still need to accrue enough funds to pursue their mission.
Every organization has to be cost-aware. It catches up to you eventually.
For context, in my home town of Sudbury, Ontario, our leading university (Laurentian U) kept growing and investing in new things. There's lots of debate around the merits of what they were spending on. But it caught up to them in the form of bankruptcy.
One of the few things I like about capitalism (there aren't many, but that's just me) is that it gives a laser-clear focus. Just because an organization is a non-profit doesn't change that. At some point, you either bring in more revenue than you spend, or you fail.
Governments that continuously overspend eventually have their debts catch up to them, too. (See: Every empire in history.)
>the profit motive is very good at weeding out truly unnecessary costs.