I have upvoted your comment but I don't think it is as simple as you seem to think it is.
My father had Alzheimer's. He was given six months to live but my mother was too good at taking care of him. It took him about three more years to actually die. At some point, I got a copy of the death certificate. One of his diagnoses* is a form of "anorexia." The picture of him in his casket was unrecognizably thin. In other words, he basically took three years to slowly starve to death, in spite of being given excellent care.
While he slowly starved to death, he still drew two retirement checks. I am currently homeless and was homeless for a good portion of the three years it took him to die. Part of the money he still drew for still drawing breathe helped keep me and my sons fed. When he died, I was glad his suffering was over but I also worried that it would mean more suffering for me and my sons.
I have a different condition. It is medical and incurable and comes with a death sentence. About 13 years ago, I spent about a year at death's door. I was told "people like you don't get well." I have figured out how to get well. I sometimes wish I had died 13 years ago. Getting well has involved a lot of suffering, plus a lot of people think I made the story up or something, and because I am destitute I struggle to get enough to eat every month.
On the other hand, I have solved a hard problem: Getting well when that is not supposed to be possible. If I ever solve another hard problem -- getting the world to believe me and finding a way to effectively share the information -- it may help a lot of people. Or it may not. I might yet die on the street, in obscurity, just some "crazy" homeless person suffering what other people think are delusions.
Some people with my condition hold on and do not commit suicide, in spite of how miserable it is, because they are hoping for a cure, for a medical miracle. Things have gotten better. Average life expectancy has roughly doubled in recent decades. I once saw an email from a mom saying "My child is now 18. Life expectancy is currently 36. When he was born, it was 18."
I don't have any answers for you. Thirteen years ago, I was not looking to get well. I was just looking to hurt less. I would have welcomed death. Had assisted suicide been an option, I might have taken it. I often think about that when such discussions come up. My oldest son has the same thing. He was 14 when he was diagnosed. He is now 27. He, at least, has a brighter future than he should have had because of what I have been through. He, also, has gotten healthy, but without first spending a year at death's door. It does matter to me that I have at least done something for my children.
I am sorry for what you are facing. I am sorry there seem to be no easy answers for some things.
* edit: By "diagnoses" I mean the listed causes of death, I think. I don't have the death certificate in front of me.