I am sorry you both suffer.
Please continue to have heart-to-heart talks as often as possible.
Have you continued to get help for your challenging condition?
I am sorry you both did not see a way to attend joint therapy together long ago.
It can be very difficult to recover a romantic relationship, yet not always impossible.
If you truly want to mend your relationship with him, show him how much he means to you (in very healthy ways). He likely feels "rejected" by you on some level. You may also feel rejected.
Any chance of you both seeing a marital (sex) therapist together?
I am so sorry for the pain you both endure.
Move forward with healing measures, individually and collectively.
My best to you both,
WC