If I sell guns to someone living in the middle of Alaska, those guns help keep them safe from bear attacks, and hunt to find food. If I sell guns to bank robbers in NYC, those guns are used to hurt people.
Similarly, Facebook helps people from across the world keep in touch with each other. It also helps people say very mean things to a wide audience.
Nudging your users to use the tool you created only for good is not easy.