What you need to consider is that you also get compounding returns by treating a patient. They can now be more productive and contribute to their local economy. They might plausibly have a higher return rate (in wellbeing terms) than your alternative investment into stocks.
Precisely. Things become clear when we think of benefits for people instead of monetary terms.