I believe under US laws, it’s the opposite. The more donations a nonprofit receives, the more money it can earn though for-profit subsidiaries. I.e. the more donations, the more money the foundation can take out of the corporation.
Ofc both are interested in a sustainable relationship though.