To uninstall Microsoft Edge.
Click on Apps.
Click on Apps & features.
Select the Microsoft Edge item.
Click the Uninstall button. Source: Windows Central.
Click the Uninstall button again.
(Optional) Select the Also clear your browsing data option.
Click the Uninstall button.
I uninstalled Microsoft Edge on my main computer that I use as I never use my main computer to browse the internet with Microsoft Edge and I hate Microsoft Edge.
I prefer to use Firefox browser as it's faster and works better for me.
Although on my home office computer that I use to work on my websites I do have Microsoft Edge installed but only for testing purposes to ensure that my websites are working properly on Microsoft Edge.