There are several reasons to wipe a device. To install an Automated Device Enrollment profile on a device that has already completed the Setup Assistant, the device will need to be wiped before the profile can be installed.
Devices can be wiped using the following methods:
Using Apple Configurator
On the device
Using Jamf School