This is a classic error caused by an expired certificate on the installer.

Use Apple's built-in tool to write the installer files into the image:

This common error happens because the security certificate built into older installers has expired. To fix it: Disconnect your Mac from the internet.

macOS High Sierra 10.13.6 is the final version of the High Sierra operating system released by Apple. It introduced significant features such as HEVC video support, Apple File System (APFS), and improvements to Metal 2. This specific version (10.13.6) is notable for being the last version of macOS to support 32-bit applications natively.