Profitability funds the next generation of drugs. It pays the salaries of researchers and clinicians and funds human trials.
E.g. A drug like Kadcyla that gives six months to late stage breast cancer patients. 20 years ago that option wasn't available but now it is an option, in part, due to profits of other drugs.