As a test, can you try Ethernet tethering the Moto G 5G to an USB port on a PC (not Mac)? If it works, then the problem is not with the smartphone.