Yes, it can give wrong answers because there are false answers on the internet. ChatGPT has to figure out which one is right or wrong. If you were to continue asking and it finds that it contradicts itself I noticed it will ofte