No, your phone is not hacked. You inadvertently subscribed to a spam calendar.
If running iOS 13 or earlier versions, check: Settings - Passwords & Accounts - Accounts - Any rogue entries here? If so, delete the rogue account.
If running iOS 14, check: Settings - Calendar - Accounts - Any rogue entries here? If so, delete the rogue account.
The Apple support article is below.