Cheating rant

Alice

So I have a best friend that is a guy. He is currently going through a divorce. He was with this woman for 15 years and has 3 children with her the oldest being 13. Well for the last two years he’s been telling me things about his marriage and his life and I’ve been telling him that I thought she was cheating. He never listened to me and just brushed off what I said. They split up about a year ago because he was tired of her accusing him of cheating, though they still lived together. Well a couple weeks ago, Mother’s Day weekend to be exact, she vanished without a word for a few days. After coming back he claimed he had hired a PI and that he knew she was with a man. She panicked and came out and told him pretty much everything, including that she’s been cheating on him with various men for the last 12 years at least. He is very upset, angry, and self conscious because of this. He isn’t even sure if his children are his. I don’t understand how someone would do that. What do people gain from cheating like that? If she was so unhappy that she had to cheat for 12 years why didn’t she just leave and save them both some heartache. I’m finding it super hard to understand a motive behind these actions. What did she gain? Why did she do it? I’m so confused.