Connecting an Ethernet cable directly from your Xbox to your PC creates a direct link between the two devices—but it does not provide internet access to your PC. Here's why:
Plugging the Xbox cable into your PC might be useful for local file transfers or streaming (with proper software), but it won't magically grant internet access.