Using Mac, you definitedly heard the timeless question:
What’s more secure, Mac or PC?
There is an analogy from the security researcher Charlie Miller that gives the answer in one sentence:
Mac OS X is like living in a farmhouse in the country with no locks, and Windows is living in a house with bars on the windows in the bad part of town.
So with Mac you get less security but you are less exposed. With Windows you get more security but you are more exposed.
Conclusion: Having a secure operating system and being safe are two different things. Exposure counts. Even if Windows is technically more resistant to attacks, people using it are still less safe than if they were with OS X.