To help you we need the o/s and version, the Sqlserver version and edition, the hardware type (intel, arm) , but mostly the actual error message in the log.
the most common install errors we see are are disk sector size too large, or install on arm64. For arm64 only docker installs are supported and docker must be configured for amd64 emulation (Mac docker has years of support, but windows docker support is recent).