If all the stuff that @webworkings gave you doesn't work, I think you should try to manually add Wifi network.
I used to have this problem with my S8 Plus and tried to find some apps like Wifi Master Key or Wifi You on APKNite with the hope that it could find out my network at home, but it...