Yes, but a decade or more ago. The security landscape and perceptions around it have changed.
Also, back then the difference between MacOS and Windows was pretty stark so this was a valid marketing point. Not that the ads didn't oversell it, of course.