It’s pretty weird,
Configure 1 adapter of the guest OS to use NAT. Then plug in the cable while disable wifi on host machine.
Once the internet works in the guest OS, unplug the cable and connect the host to WIFI network, the guest will then be able to connect to the Internet through host’s wifi.