Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
You should be able to reinstall Office from your associated account at https://account.microsoft.com/services . You may have to scroll down, because one-time payment purchases are usually listed at the bottom (below any subscriptions, even old expired subscriptions).
If you need assistance with activation, see https://support.microsoft.com/en-us/windows/activation/activate-microsoft-perpetual-products-using-the-product-activation-portal .