Not really. More like, "let those without sin throw the first stone." Or, "judge not, lest ye be judged". Or, "people who live in glass houses shouldn't throw stones".
Life is complicated and long.
I have been married four times. Twice in "open relationships" and twice in "closed relationships". My first wife (open) cheated and got pregnant by her boyfriend. After telling me for 10 years that she didn't want kids.
I cheated on my third wife when I realized that I was an accessory to her. She was very wealthy and 12 years older than me. She regarded the marriage as a business arrangement. I probably should have just left but I cheated instead.
Life is complicated. Which is why my default answer to questions like this, is that the best policy is to "mind your business".