By blocking a controversial Friends season 5 storyline, Matthew Perry saved Chandler's character and the entire show. Since Matthew Perry tragically died on October 28th, those involved in the show have started sharing their experiences with the late actor. Lisa Cash guest-starred on Friends alongside Perry and revealed that Chandler almost cheated on Monica in Friends season 5 during the two-part episode titled "The One In Vegas." This storyline would've occurred when Monica and Chandler traveled to Las Vegas to see Joey and celebrated their anniversary. In the show, Chandler learned on the plane that Monica had lunch with Richard, making him extremely upset and jealous.
https://screenrant.com/friends-matthew-perry-chandler-cheat-story-cut-save/