How to prevent women cheating?

Women cheat too. My cousins wife did it, and they're now divorced, with two kids (splitting time between the two). She made a mistake, of course, cause you can't get much better than my cousin, so, how do you prevent cheating from a woman. What makes her not want to cheat

How to prevent women cheating?
Post Opinion