Apple - Can I share my iMac's internet connection via ethernet
You sure can! Open System Preferences, then go to Sharing and select Internet Sharing. Change "Share your connection from:" to Wi-Fi, and then in the box below it select Ethernet.
Sharing your source Internet using WiFi to your Ethernet output.