It makes sense to invest as much money possible in returning someone to being the most productive they can in a society, especially if you think about automation systems that will lower costs of everything more and more - assuming a profit layer isn't gouging unreasonably; that is if you are following trusted processes and carefully following them as to not make mistakes, and directing investment towards fixing source causes and not simply symptoms, when possible. The problem I have personally been facing the past two years relating to this kind of process is from human error - incompetence (inability to do something successfully) - whereby I've observed that it seems doctors are selected for their memorization skills to regurgitate information on tests (etc) and not critical thinking skills, to understand more complex, less straight-forward scenarios. And this will likely lead me to ending my life; I have chronic pain I have been problem solving, had success with healing, but have been stonewalled by illogical thinking. I am trying to write my story out, though it's difficult for me to organize thought and focus/concentrate enough for longer form.
Maybe the death of someone will motivate someone to perform better. Maybe if a relative dies of lung cancer from smoking, I will be motivated to quit, which thereby increases my productive output (healthier, less time smoking). Maybe keeping the person alive longer will increase the total number of visits to them in the hospital, which could be considered lost productivity time.