Miscellaneous topics that do not fit into specific categories.
If you have a product with the name Microsoft 365, that's subscription, and yes, you need to renew yearly or monthly.
If you have a perpetual license, it will not use the wording like Microsoft 365, it will instead be called like Office Home 2024, or Office Home and Small Business 2024, or a different year, it is a one-time purchased and no need to renew.
So, check your Microsoft account https://account.live.com > Subscription, what's listed there? Then go to Order History, change the time filter to the past 7 years, do you have any one-time license purchase?