Am I wrong for telling my brother in law to F off when he was complaining about his broken life resulting from his cheating?

Not many details for this other than in conversation while he was doing his poor poor pitiful me act because he cheated and his wife left him for it, I told him to fuck off. I'm. Okay talking to him about anything else, but that subject is permanently off limits until he grows up.
Am I wrong for telling my brother in law to F off when he was complaining about his broken life resulting from his cheating?
Post Opinion