Hello
Can you provide detailed event log information for this issue?
You can also try the operations in the following documents to troubleshoot the problem:
[https://help.act.com/s/article/Error-Wait-on-the-Database-Engine-recovery-handle-failed-When-Attempting-to-Install-Microsoft-SQL-Server-2008-R2-prem?language=en_US#:~:text=%22Wait%20on%20the%20Database%20Engine,or%20lacking%20the%20correct%20permissions.