Definitely not true.
Public messages risk a wide audience seeing the message and recognizing it’s inappropriate, then taking action against the person, reporting them, or highlighting the inappropriate messages for mob reprisals.
This is why predators overwhelmingly prefer private messaging where they can control visibility of their actions to a single vulnerable target.