I don’t know how to delete them, but you can bulk archive messages.
In your inbox, click this button:

Click ‘Select All’ or the messages you want to archive:

Click ‘Archive’:

Then the messages should be archived. You can do the same thing in your Archive to move messages back to your Inbox.