I keep getting alert for viruses via MS Edge

Are you running multiple Antivirus products ?
As this “AVG detects 5 virus” yes you are, whilst there are lots of underpinnings designed by Avast, AVG is also in Gendigital.

Whilst Avast, AVG and Norton are part of the Gendigital Group - Google Search

Some of these popups sound more like ads/notifications.