I don't know man, I just see you being very comfortable when you are the victim of another's behavior..
And the 'buts' kinda prove that.
Anytime there is a 'but' used , it discounts everything that was said previously to it.
I would be thinner, BUT they make doughnuts...
It is an excuse, to not do better in any situation. And I think that you use that to your advantage.
You are looking at your wife, to validate what YOU should do in any situation. Not only that, you are looking toward your Ex for the direction that you should move regarding custody.
I think that you placed her in a no-win situation. One that should have been finished before she was involved. She essentially married the both of you. ( you and ex).
That part, is over and gone now, and there is nothing that you can do to change anything about it. All you can do, is to move forward with a better set of tools to use.
I would like to see what your goals are...for YOU.
Something that you can work toward, that does NOT include another person.
Truegritter eluded to co-dependency issues...
What are you doing / reading to help you understand what that means ??
It's all too easy to commiserate, and stay trapped in the victim role....
Right up until the time when it is not okay anymore to do that. All you have to do, is to want to move past it.
All it takes is for you want to change that part of your life, and move toward it, instead of away from it.