Most of our retail product only comes with 30 days trial period of Office 365.
You would need to buy the license yourself.
Only trial office 365 comes, so you need to purchase Microsoft 365 separately.
Microsoft 365 having one year license only. But if you need permanent office apps, then you can purchase an office 2019 license online