Not necessarily, but if the child sees that the cheater benefited from the cheating, then it will be much easier to go down that same route when the going gets tough.
For example, if the father cheated, left the mother but ended up with a hot young wife and he was happy, then that would make cheating appear to be a good deal. Or if one of the parents cheated and no one in the family gave the cheater any grief or negative consequences, then that too would appear to be a pretty good deal for the cheater. Another example, which is probably more common is if one of the parents cheats, then ends up marrying that person and the new spouse becomes a good step-parent (that the child loves) then once again, the cheating appears to be beneficial.
Even if the parental cheater has a rough time and ends up unhappy or financially drained, just the fact that a child saw the parent cheating, can somehow justify it. If the parent does it, then it must be ok (or not that bad). A child can learn the “easy way out” by watching a parent cheat.
And females, are more likely to pick men that will cheat on them. At least that has been the experience with some of my female friends. Those that had fathers that cheated, have often ended up with boyfriends and husbands who cheated on them.
The odds just make it easier for offspring of cheaters to cheat unless they take specific actions to NOT cheat. Like going to pre-marital counseling and simply vowing to themselves that they will exit their current relationship before engaging in a relationship with anyone else. Plus in today’s world, lots of cheaters, especially famous ones, are idolized and looked up to and considered great ladies men. They are rarely shunned or punished. Cheating is easy.