You allow yourself too much negative self-talk. You convince yourself that you and he cannot be successful. You have to stop that. You are making progress, but it is only by baby steps that you come out of the hole that you have dug for the marriage. Keep at it. He is not with her. He is with you and he is working with you. Figure out a way to make the change he is asking for and keep going. Communication is the key. Keep the dialogues going.