When browsing the internet, I would also recommend using a DNS provider that filters sites known to host malware. One such free service is
Quad9. They have guides how to reconfigure your Mac / PC to benefit from this filter.
I have recently switched to them when reconfiguring my pfSense router to perform DNS searches over TLS.
Cheers,
Fabien