If someone claims to be a doctor, some people might believe it only if he can heal himself. Jesus was saying that the people in Nazareth would not believe that he is a prophet. Instead they would challenge him to prove it by showing them some miracles.