37On the last day of the festival, the great day, while Jesus was standing there, he cried out, “Let anyone who is thirsty come to me, 38and let the one who believes in me drink. As the scripture has said, ‘Out of the believer’s heart shall flow rivers of living water.’” 39Now he said this about the Spirit, which believers in him were to receive; for as yet there was no Spirit, because Jesus was not yet glorified. 40When they heard these words, some in the crowd said, “This is really the prophet.” 41Others said, “This is the Messiah.” But some asked, “Surely the Messiah does not come from Galilee, does he? 42Has not the scripture said that the Messiah is descended from David and comes from Bethlehem, the village where David lived?” 43So there was a division in the crowd because of him. 44Some of them wanted to arrest him, but no one laid hands on him.
45Then the temple police went back to the chief priests and Pharisees, who asked them, “Why did you not arrest him?” 46The police answered, “Never has anyone spoken like this!” 47Then the Pharisees replied, “Surely you have not been deceived too, have you? 48Has any one of the authorities or of the Pharisees believed in him? 49But this crowd, which does not know the law — they are accursed.” 50Nicodemus, who had gone to Jesus before, and who was one of them, asked, 51“Our law does not judge people without first giving them a hearing to find out what they are doing, does it?” 52They replied, “Surely you are not also from Galilee, are you? Search and you will see that no prophet is to arise from Galilee.”