It depends on what your definition of spyware is. Windows 10 does send information about your usage, as well as a limited bit of personal information, back to Microsoft. This can include the website addresses and search terms you enter in the Microsoft Edge address bar, information about the images on your hard drive, and more.
However, Microsoft claims this information is collected on an anonymous basis and that none of the information is connected directly to a user.