Her life is not ruined. Was this a pre-arrange marriage? Is she the one who decide to marry this guy? Anyways no blaming this time, the situation is not that unique, a lot of couple nowadays are having the same scenario as this. There's nothing to be ashamed of nor to think that her life is ruined. It's normal tat your friend is in deep sorrow of what she is facing right now, but i agree with the divorce decision they come up with. The best way for them to be both happy and be able to live their lives is to separate from each other. What you can do for now as a friend is to be there for her, to comfort her and be able to show her that she is still very lucky and blessed that she found out the truth as early as this time. Things could have been much complicated if they were able to have kids for they will have to consider the kids first before deciding on separating.