A leper is to be quarantined for the good of everyone. Likewise, a gossip. Tradition says that tzaraat might be caused by speaking ill of others.
#leviticus 13 #tazria
Whether or not to speak of another's behavior is a complex question. Does it really need to be said? Is someone in danger? Err on the side of caution. Be kind.