How attractive do you think being a good father is? When we marry it is to find a mate to biologically make offspring, so we look for someone with the characteristics we think we want to do that. Later after we have children being a good parent is VERY important to attraction of our mate.
So some of the advice that 25MLC likes to give is to become a person that only a fool would leave. There are no guarantees here, however I can tell you that what you learn here can make you into one of those fathers.
Begging, Pleading, Bargaining is not going to re-attract your wife. Read up on pursuit and distance. Whatever you did in your marriage did not cause her to break her marriage vows. That is all on her. Love is a CHOICE. It is NOT a feeling.