Dude, my experience is that she didn't just decide to leave your marriage cuz of your illness. Bet she's been thinking about it for a while and this is just the last straw.
Even so, it's still a sh1tty way to do things. But....tnat's women for you. Other posters are correct. You are in the...