Apple provides the full installer for older macOS versions through the App Store or as a disk image (.dmg) for manual installation.
If the official methods fail (e.g., your current Mac is "too new"), these tools fetch the installer directly from Apple's servers: download macos high sierra 10.13 6 dmg file
Scroll to and click the link. This will open the Mac App Store . Apple provides the full installer for older macOS