Well trust me when i tell you that no matter what you did, it is in no way ALL your fault. No one person can cause the failure of a marriage, i'll get blasted on here for defending your EA and trust me when I tell you that im the first person to say how wrong they are, but if your marriage wasn't missing something then those things can't take hold.
You are a good person period. Thats all there is to it and sometimes good people make mistakes, and sometimes good people lose their way for a bit and don't act like good people but theres no way you caused ALL of this. If you caused all of this then you could fix all of this.