If one regularly visits the click bait sites, then your going to get virus and malware infections.
Just like caring for you body can prevent a lot of colds and flu, so can caring for your computer.
Its simple really. If your going browse click-bait sites or other sites of ill-repute (really any site that you are not absolutely certain is safe and well run), then:
1. Use an unprivileged account. That is a non-admin account.
2. Always use a private window in Safari for browsing.
3. Stop and read every alert, never agree to any alert that comes up while browsing, unless you know for sure what is being ask. If in doubt, just quit Safari, without clicking any buttons in the alert.
4. Don't be disappointed when you can't see what that famous child actor/actress looks like now.
5. Find something better to do than clicking through click-bait sites.
When friends or family have ask for me to remove their infections, I always ask what site they were browsing when they think it happened. Yep, they don't really want to say. That says it all.