Yes! Even if macOS is not as vulnerable as other operating systems, no computer is immune to malware, viruses, Trojans, etc. Even phishing websites are not blocked by Apple by default. Similar to Windows, you should definitely have virus protection on your Mac.