I personally believe considering how vast and compatible windows is, it's surprisingly decent security wise. Windows 11 ruffles a lot of feathers for some people already. I would like to see microsoft going further into this path, and start getting rid of really old legacy items so security can be better maintained and enforced. The older windows OS still exist for the companies needing it to control older needed equipment, but modern systems on the internet should have tighter restrictions.
Linux, Mac os, and chrome OS were built from the ground up to attempt to be secure, with security as the foundation. Windows never had that luxury.
Microsoft has made a lot of strides in security, but they have a long way to go.
I still personally believe most home users should be using any other operating system other than windows. I like chromebooks for the average user.
It is what it is.