Garmin Forerunner 645 - Activities reupload to Garmin Connect after deleting

I have a second hand Garmin. I have created myself a Garmin account and want to upload my new activities when I do them. Even after factory resetting the watch activities continue to show. I have gone through all old activities from before I owned the watch and deleted one by one but still they come back. I get the notification each time a new one is uploaded and then they all show in the 'All Activities' section on the app. Why is this happening and how can it be stopped?