Hello Ark 7,
I understand you want to play the game you already purchased without having to buy it again, especially since you've lost access to the original account.
While Microsoft doesn't allow purchases to be transferred between accounts, there is one possible workaround if you're playing on an Xbox console.
If the console was already set as the purchasing account's Home Xbox, another profile on that console may still be able to play eligible digital games, even when the original account is signed out.
You can find Microsoft's explanation here: How Home Xbox and game sharing work.
However, if the console wasn't previously configured as that account's Home Xbox, you would generally need to recover the original account first.
Are you trying to play the game on an Xbox console or a Windows PC? That will help determine whether this option applies to your situation.