Community Property

As I sit here and ponder the attorney’s lengthy notification, my question is only one: 

If a spouse walks out on her dying husband abandoning everything for her girlfriend, how she is entitled to that property?

Oh, how greed manifests.