I don't know what to say

My friend cheats on their partner constantly and the partner does not know. My friend is sad they had to leave the person they are cheating on their partner with.

What do I say. I do not want to be judge mental she knows it's bad. It is more like an addiction for her.