Does anyone else feel like they destroyed a wonderful relationship because they couldn’t get a handle on their mental health?

My (35/m) and my STBXW (34/f) were married for 4 years, together for 10, and although there are things she did that were callously selfish and clearly adverse to my well-being, I feel such guilt and shame being the sick one, as though I deserved to be treated that way.

Witnessing other women staying with their husbands through worse gives me some solace feeling like the right person would have stayed with me during the hard times, but I still just feel like such a failure.

Had anyone else struggled with this guilt? If so, what have you done to overcome it? I’m in therapy, on antidepressants, staying relatively active, but am just stuck ruminating and hating myself all day.