I am sorry to hear of the difficulties you and your family have been going through.
Saddly my poor brother-in-law spent over 40 years married to a person who made him miserable most of the time. I hate to say it, but when he got the cancer diagnosis I fear that he saw it as a way out. He did have a parade of people who came to say their goodbyes. He had no fight in him at all. No attempts of any kind were made to extend his time on this earth. He died much more quickly than predicted, more likely the result of over-medication than Covid.
In early 1990 he came to my wife and told her he had fallen in love with another woman. They were always very close. She told him he should fix his relationship with his wife, so he tried. She now feels that she should have told him to follow his own conscience and heart and not have interfered. He was a great guy and just retired a couple of years ago.
Not to be insensitive but the old joke comes into play there.
Why do married men die before their wives????
Because they want to.
But what you said is correct. The will to live is the most powerful cure there is sometimes.