I think this is a false dichotomy. If you do costly things for the betterment of mankind without profit, you will run out of resources to continue doing those things. Profit allows for continued effort, maintenance and improvement of methods and/or infrastructure. If a farmer gives away his grain, keeping back enough for next year's crop, but a drought or late freeze or intense flood kills the next crop, how is he to plant his field the third year? That's excluding any other inputs like paid labor, equipment upkeep, fuel, compost, etc. If he sold the grain for a profit, he can afford his inputs and be able to buy more seed grain for the third year.