Do you know how deeply integrated anti-virus is on macOS?
No, and I haven't encountered a virus either. During the Microsoft era viruses frequently did the rounds, becoming water cooler talk.
That’s mostly because applications themselves got way more secure.