Can you provide some proof for that?
That is a very unusual argument. I bet a lot of Windows experts disagree. Certainly, Microsoft does. Now you are going to say “That is because they want to sell Windows 10!”. But I don’t buy that conspiracy.
Some things Microsoft has introduced after Windows XP that increase security can be found here
https://en.wikipedia.org/wiki/Security_and_safety_features_new_to_Windows_Vista:
– UAC (Windows Vista): User Access Control (User Account Control - Wikipedia, Why Windows 7 Is Better Than Windows XP)
– End User 64bit support (and with it better protection against some attacks)
– Support for the no-execute (NX) feature (rudimentary support: WinXP SP2, full support of address space layout randomization introduced with Vista) of modern processors than can mark memory areas as non executable
– A integrated firewall (Vista)
– Integrated Virus protection (Win 8)
– An API to integrate virus and malware protection (Win 10)