Sounds a little sexist there. Personally I think that instead of relying on their ex to support them they should go and get a job like everyone else on the planet.
If we look at the list of benefits of marriage, using the wikipedia list as a good example, it starts with survivor benefits. Why? The answer is fairly simple. These benefits were defined at a time when women had, for all practical purposes, no independent means of economic support. When a woman's husband died, she was likely to be penniless. To rectify that, laws were passed that cared for widows.
Today, things have changed significantly. However, it would be foolish to assume that the situation is completely different than it ever was. The fact is that women are very likely to be dependent on their husband's income, much more so than a man would be on his wife. Those survivor benefits are still important even in today's society.
So, if a woman loses the support of her husband as a consequence of death, would we say to her, "Tough luck. Get a job." Why then would we say that if she loses the support of her husband as a consequence of abandonment?
Of course, in today's world, the sex of the two partners in those scenarios could be reversed, or we could make them the same. However, in my opinion, that doesn't mean that the sex of the couple is totally irrelevant. While there are exceptions to every rule, in the general case, men and women behave differently, and are affected very differently by divorce. When a typical 45 year old couple gets a divorce, the man and woman face very different issues. I don't think it is wrong to acknowledge those differences in our legal system.