In a bad marriage friends are the invisible glue. If we have enough friends we may go on for years intending to leave talking about leaving – instead of actually getting up and leaving.
Straight couples don't have to be monogamous to be married or married to be monogamous. Monogamy no more defines marriage than the presence of children does. Monogamy isn't compulsory and its absence doesn't invalidate a marriage.