For a guideline to be helpful it needs to be true in most circumstances.
“Remain married” can be actively harmful as much as it can be the right thing. That makes it useless as generic advice.