If you genuinely need Windows 7 for legacy hardware, here are the legal, safe alternatives:

Microsoft officially ended support for Windows 7 in January 2020. Using third-party ISOs from sources like Internet Archive carries significant risks: Microsoft Community Hub Windows 7 All In One [x32 | x64] Pre-Activated by Orbit 30

Requires a tool like Rufus to burn the ISO to a USB drive (at least 8GB recommended). Windows 7 AIO Pre-Activated R2 32Bit 64Bit - on9videos