So, Apple is considered safer in terms of susceptibility to malware. Some of this is due to the more Unix-based system. However, some of this reputation may simply come from the smaller market and less motivation for virus-makers to bother with MacOS. That seems to be changing though ,
https://www.gizmodo.com.au/2020/02/malware-threats-on-macs-outpace-windows-for-first-time-ever/