Companies need to make money to keep existing, the same way we need to breathe.
If you've ever had a tyrannical boss, you'll see sometimes the company is just their fiefdom. Feeding their ego is their prime motivation and organizing principle for the company - not generating money.