Charitability and profitability are not opposites. Perhaps you interpret for-profit as “grab as much as you can” but it does not necessarily have to be so. You can keep 51% ownership to yourself and take 0 pay as a compensation for your work and reinvest all the profits into the organization, making it effectively non-profit, while the 49% shareholders will make their gains through share prices going up if the organization is expanding based on the hope that at some future day you will pay them dividends.
Charitability and profitability are not opposites. Perhaps you interpret for-profit as “grab as much as you can” but it does not necessarily have to be so. You can keep 51% ownership to yourself and take 0 pay as a compensation for your work and reinvest all the profits into the organization, making it effectively non-profit, while the 49% shareholders will make their gains through share prices going up if the organization is expanding based on the hope that at some future day you will pay them dividends.