The standard steps to reset the password of your Mac user account don't succeed, try the steps on this page.
Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps to start up from macOS Recovery: