If your Mac is receiving WiFi
you can not share that same WiFi with other devices but you can share a Wi-Fi network connection
by creating another Wi-Fi network will require a separate physical network interface, such as a USB Wi-Fi adapter.
The reason is obvious. Your mac WiFi can comunicate with your router, but it can not at same time offer that WiFi to others.
However you can share the Internet using Bluetooth Pan to others.
One of the ways you can use your iPhone's internet connection on your
Mac (if your data plan allows this) is to pair the two over Bluetooth.
Pair your iPhone with your Mac by going to
Settings > Bluetooth on the iPhone.
Then go to Settings >
Personal Hotspot and ensure this is also turned on. Next, select your
iPhone in your Mac's Bluetooth preferences pane and right-click to bring
up its contextual menu, then click on Connect to Network. If that
doesn't work, go to System Preferences > Network > Bluetooth PAN.
Pick your iPhone from the Devices list, then click Connect. The status
bar along the top of your iPhone's screen will be blue when other
devices are using its hotspot.