The biggest issue with Windows isn't its inherent security, it's the way it's used. Most users run everything with super admin rights. Most developers require that for installs.
OSX is right behind it, with a culture of laxness that undoes most of the benefits the designers tried to give them.