The prime goal is to alleviate suffering, and not to prolong life. And if your treatment does not alleviate suffering, but only prolongs life, that treatment should be stopped.
alleviate goal life
These are some quotes by South African author Christiaan Barnard Scientist, who lived between November 8, 1922 and September 2, 2001.