I think the best advice given here in these situations is detach and live your life like they are not coming back.
I am not telling you to end your M. That is personal to each of us here. I can only tell you this that if you choose to stick this this out for any length of time it will not be wasted.
Success?
You define that as well. Your children are watching you. So make sure you make choices for you and the man you want to be and not as a reaction to some crazy things your W is choosing.
It is not what she is doing to you that defines you and your M. It is what you choose in spite of it that makes all the difference and will be your legacy.
Choose wisely.
AJM is right you have time.
My goal is to some day be the person my dog thinks I am