Good point. This should cause people to reevaluate the dependence on windows.
The problem isn’t Windows; it’s failure to update, and clinging to, older versions that are less secure. Windows 10 has automatic updates of an anti-virus app that blocks ransomeware.