@papayalily; A job wasn’t a factor.
I know a few guys who are divorced and have to give their ex half of their military or federal government pensions, for the rest of their lives, even though their exs weren’t married to them the whole time. I also know one guy who ran his own business but his ex (married over 10 years) was a federal employee. He tried to get a portion of her pension in the divorce, but the court ruled he wasn’t entitled to it. This was almost 20 years ago so I don’t know if the laws have changed. I haven’t done a scientific survey or anything, but just from the men and women I know who are divorced, the courts are heavily biased towards the women.