I guess Wiener was hoping his soon to be ex wife would have been like her idol and mentor Hillary Clinton. If she were , he could have done this over and over again like Bill did and still kept his marriage intact.
Obviously, Weiner's wife is not as a big an idiot as Hillary.