And these days, the man is the only one obligated to perform to the terms of the contact, which provides very profitable rewards to the one one chooses to default on them. Just take a long hard look at any “family” court.
I agree when the government gets involved the outcome becomes “equitable” which will is wrong, write up a prenuptial just to protect yourself