Don't beat yourself. There is nothing you can do as you can't control her. I never thought my STBXH would cheat on me, and he did. Something inside them snapped, you can't do nothing about it. Live your life the best as you can, now you are the person WHO matters not your W.

Put yourself first, then see how your life unfolds. I know easy to say, harder to do.