Because Windows 7 no longer receives security updates, any activity on this machine (including typing documents) carries a risk. It is strongly recommended to upgrade the operating system to Windows 10 or Windows 11, or switch to a modern Linux distribution (such as Linux Mint) if the hardware is older.
Since official support has ended, many users find that free, open-source office suites are more stable and secure on Windows 7 than trying to force-install old Microsoft software. FreeOffice: The best free alternative to Microsoft Office microsoft word free download for windows 7
If you need Word and have an internet connection, this is the best way. Because Windows 7 no longer receives security updates,