It has nothing to do with actually preventing all infringement, but instead seeking enforcement in at least some cases. If a copyright owner is aware of substantial infringement and chooses not to pursue (or license) they may lose their copyright through genericization or other means.
(Caveat: I’m not a lawyer, but I learned broadly the above from an IP lawyer.)
(Caveat: I’m not a lawyer, but I learned broadly the above from an IP lawyer.)