Tethering phone to a PC

share the PC’s NW connection

meaning you want the phone to use the PCs network connection? I’ve learned this is named “reverse tethering” - you can do this with https://github.com/Genymobile/gnirehtet

the other way round - PC using the connection of the phone to route packages to the world can be done natively by Android in its “USB tethering” options