The context of the following conversation is Aubrey said nothing to Kai about his affair because She wants to have advantage at divorce court.:
Aubrey says I didn't tell Kai that I know about his affair.  I want to have the advantage at divorce court..
The friend responds Divorce can be so messy..
Aubrey responds Things are good until they are not.  Now we're headed to divorce court..
The friend responds What are you guys going to do with the house?.
Aubrey responds We've already put it up for sale..
The friend responds It's the undoing of everything..