If there are kids under 18 involved, men don’t stand a chance.
If no kids, each partner can take out what they put in.
If wife gave up her career for a while to support the family as a housewife, husband would lose a lot as compensation.
Ideal situation is to marry a woman who makes more money than you and brings in more assets than you at the start of the marriage.