But that isn't what happened there. The wife quit the job on intention so that she could be eligible for free alimony pay from the husband.
Why work and make a living, while you could skin this man alive and have him pay for you.
This sort of behavior incentivizes divorce. Not that hard to play victim when you can get some one to pay for you all life, while you chill around beaches and make merry.
Being a homemaker is absolutely a high effort job, and cleaning/daycare are hardly cheap. You also are right to point out the opportunity cost of not being in the workplace.
These are interesting things to think about as I just don't think the matter is as black and white as some people might want to think.