Ok, if other devices are connecting but just not your MacBook then let's start troubleshooting the MacBook to possibly find out why.
Please try each of the following, in order, until hopefully resolved:
Note the following are excerpts from an OS X Daily article.
* Turn Airport on & off – You can do this via the Airport menu bar or from the Network Preferences. This is the first thing you should try when troubleshooting Mac wireless problems.
* Make sure Wireless/Airport card software & firmware is up to date – This is usually done just by going to the Software Update menu, if there are any updates available for your Mac or Airport, install them.
* Delete and recreate connection – Try deleting and recreating/reestablishing the wireless connection, sometimes a setting can be corrupted and this may fix it.
* Create a new Network Location – Similar to the above suggestion, try creating a new and different wireless network location to see if it resolves the connection problems.
* Change DHCP auto settings to manual – sometimes there is a problem with the DHCP server, and if you manually set an IP address on the network you can be fine. Remember to set the IP to a high number so it wouldn’t interfere with other DHCP machines. As long as you have the subnet mask, router, and DNS settings configured manually as well, this shouldn’t be a problem.
* Flush the DNS cache – Launch the Terminal and enter the following command onto one full line within the Terminal: dscacheutil -flushcache
* Zap the PRAM – Reboot your Mac and hold Command+Option+P+R during restart until you hear another chime, let the Mac boot as usual.
* Delete Wireless Config files – Delete com.apple.internetconfigpriv.plist and com.apple.internetconfig.plist files from ~/Library/Preferences and reboot
* Trash your home directories SystemConfiguration – Remove all files within ~/Library/Preferences/SystemConfiguration/ and then reboot your Mac.
* Reset your Mac’s System Management Controller (SMC) – For MacBook and MacBook Pro’s: Shutdown the MacBook/Pro, remove the battery, disconnect the power, hold the Power Key for 15 seconds. Replace the battery, reconnect power, and zap the PRAM and wait for 2 chimes before letting the keys go. Let boot as usual.