My SO is currently in hospice after 6 brain surgeries for brain cancer (4 over last year with her state gradually deteriorating). For the last year she was severly disabled and had to be help with sitting down, standing up, lying down and adjusting pillows and blankets as she had very limited use of her hands and general body coordination. She had to be kept safe while walking. It wasn't as good life as she had befor…
I don't think that life in and of itself is valuable even under terrible conditions. Especially if there is no positive outlook, that things will be better, no reason to hang on. I think only one thing really matters: QUALITY of life. Life is not intrinsically sacred. QUALITY of life is to me.
If you do find a way out, the idea that life itself is sacred (regardless of quality of life) can help keep things in perspective for next time.