Additional SQL Server features and topics not covered by specific categories
The message Wait on the Database Engine recovery handle failed is a generic message that tells us that SQL Server did not start when Setup wanted to run configuration tasks.
To understand why it did not start, you need to check the SQL Server errorlog which you find in C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\LOG\ERRORLOG. The exact path depends on which version and edition of SQL Server you are trying to install. The path I gave is for SQL 2022 Developer Eidtion.
If you see a message about 256 misaligned reads, you running into a known issue where Windows 11 reports a disk-sector size that SQL Server does not cope with. Microsoft has published this article with workarounds for this problem.
If you don't see this message, feel free to attach the errorlog here. You will need to rename it ERRORLOG.txt for the forum software to accept it.