Good morning, sorry to hear you having problems with your Galaxy S5.
I understand other devices are able to connect and access WIFI without issue but its just this device which your having issues with, can you advise what encryption method and channel the WIFI router is using?
Secondly, you stated that your phone advises your connected, but you cant access internet content, are you able to advise what the wifi signal strength is on the phone, what error you get when using the web browser when connected to WIFI and finally what IP address is shown when you are connected to the WIFI.
Sorry for the delay in responding back to you, the DNS assigned appears to be using Google rather than your router, which shouldnt cause an issue but adds an extra stumbling block.
I would first change the DNS setting on your phone to auto detect, and let me know what IP is then assigned by your router.