My friends and family cheat on their H's and confide in me about it.
I'm still sensitive myself. When I feel as if I need to pull back from it, I do. It's taken me a lot to learn to separate friendship from their personal lives. Sometimes it is overwhelmingly difficult.
You handled it well, drawing the boundary on not confiding in you about it if he choses to do what he does.