Hi,
>SQL Server install error Wait on the Database Engine Recovery Handle Failed
The following article details the possible causes and solutions to this problem. Basically, you need to ensure that SQL server is completely cleaned without leaving any residue(including folders and registry), and then always right-click the installation file(setup.exe) and select "run as administrator" to start the installer, and select the startup account of the database engine service as the NT authority \ system (local system account) during installation.
https://www.mssqltips.com/sqlservertip/4526/sql-server-install-error-wait-on-the-database-engine-recovery-handle-failed/