another way to go about doing this is to create a segment with all the contacts you want to delete.
Then go and create a campaign that starts with that segment and use the Action Delete Contact.
The first thing we’re prompted to do is to choose a contact source. In our case, our source of leads is coming from a segment. Find and select the segment that contains the contacts that you wish to see deleted from your database.