How do I delete a Windows partition?
Close all open applications;
Open Boot Camp Assistant (click Continue);
Select Remove Windows 10 or later version;
Click Restore if your Mac has one internal disk, otherwise select the Windows disk and select Restore disk to a single macOS partition, and then press Continue.


It is recommanded to do a backup before doing so.