I think you're close to the point - but I don't think it's about money.
If you love someone and they're dying, being married to them especially in the 40s makes things a lot easier for handling their affairs both before and after they die.
There's so many laws even now that aren't fixed to handle when people aren't married.