A few decades ago the US military noticed a disturbing trend in their retirees. They would divorce their spouse shortly before retirement and pick up a new toy for their new life.
The spouse who had followed them around the world and not had a chance to build any sort of career, (although they usually had jobs) was left with nothing.
They changed the rules so that if you had been married to your spouse for 10 years of your career they got half of your retirement and medical insurance.
The number of dumped spouses dropped dramatically.
I’m glad it was reformed.
This is another reason I believe women should work on careers when they are young and NOT sacrifice their own lives for that of others. If the husband wants a prestigious career, make him earn his own way, not make the wife do half the work and then end up ditched.