TV encourages infidelity

Finest • 1 MC 2 ectopics hopefully my rainbow baby comes soon

So I'm watching good deeds (dont get me wrong its a good movie) but it teaches infidelity in a way. Now here me out, tyler perry is in engaged and happy (so he thinks). Until he meets a woman who changes his life, good story line. But along the way he gains feelings for this woman while he's engaged, starts with a kiss and would turn into more if the woman didn't stop it. The first time I watched it I was aww thats so cute, now watching it again, I'm like it can teach somebody that its okay to mess around with a taken person in the hope that they will be together, sometimes it works out that way, but most times its a lie. Anybody know where I'm coming from or has a different opinion?

Update: the movie came out in 2012, I was a sophomore in high school at the time so i really cant remember how infidelity was during that time.