I managed to solve the issue and was right to notice it was caused by parallels. I re-downloaded parallels on my phone, transferred it to my Mac and installed it.
I then changed the network option of the virtual machine from shared to host only andfound that solved the problem! actually stems from the usb c dongle. USB-C dongles killing Wi-Fi on 2016/2017 MacBooks – Who’s to blame?