If you have an older PC that can't handle Windows 11, lightweight Linux distributions (like Linux Mint or Lubuntu) are free, legal, and much faster on aged hardware.
If you are just testing old software in a Virtual Machine (VM), Windows 7 can usually be used in a "grace period" without any third-party tools.
While it became the "standard" for unofficial activation years ago, using it carries significant risks: