Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
This happens a lot, and it's usually easy to undo if you're quick.
First, figure out where you bought it, since you're on a Mac:
If you bought it inside the Word or Outlook app on your Mac, it was probably billed through Apple, not Microsoft. In that case go to reportaproblem.apple.com, sign in with your Apple ID, find the Microsoft 365 charge and choose "Request a refund". Apple handles those, not Microsoft.
If you bought it on microsoft.com, sign in at account.microsoft.com/services with the account you bought the new one on (not your usual one). Find the new Microsoft 365, click Manage, then Cancel subscription. If it's within 30 days of the purchase, it should offer a full refund right there.
After that, sign out of Office on your Mac and sign back in with your original account, so you're using the subscription you already had.