These sorts of bans aren’t just good for the community. They’re also good for the recipient. (I’d only say that in the short term, depending on the person, there could be a danger of self harm and people should always be kind and careful.)
It doesn’t feel good. But that pain you feel is you caring about that person. Understanding that makes it easier.