In my opinion, any OS can do whatever any other OS can do. The only limitation is the hardware. Windows can be just as secure as Linux, and Linux can be just as user-friendly and compatible as Windows.
Windows can be just as secure as a linux I don't think so, You might wanna do a little research before posting such a statement.