VPNs can protect you from malware injection thanks to their strong encryption, but some go the additional mile and supply malware blockers that block destructive Sites within the DNS stage, like CyberGhost does (read https://usagevpn.com/vpn/tor-vs-vpn-which-should-you-choose/