That’s the very point written in the Bible indeed.
Also generally, we are not to speak evil of evil (note the injunction against bringing the “railing accusation” in Jude 1:9), but we do have to speak out against evil when it manifests itself.
Some seem to confuse the two. That’s because they listen to liberals.