Jesus goes about in Galilee because in Judea the Jews seek to kill him. The Feast of Booths is near and his brothers tell him to go up to Jerusalem to show himself to the world; John clarifies that not even his brothers believed in him. Jesus answers that his time has not yet come and that the world hates him because he testifies that its works are evil. When his brothers go up, he goes up later, in secret. At the feast the people look for him and whisper, some saying he is good and others that he deceives the people.
Around the middle of the feast Jesus goes up to the temple and teaches. The Jews are amazed that he knows the Scriptures without having studied, and he answers that his teaching is not his own but from the one who sent him. He rebukes them for not keeping the law of Moses and invites them to judge with right judgment, not by appearances. Some in Jerusalem are doubtful: they know where this man is from, but when the Christ comes no one will know where he is from. Jesus says they know him and that he comes from the one who sent him. They try to arrest him, but no one lays a hand on him because his hour had not come, and many of the people believe in him.
On the last and great day of the feast Jesus stands and cries out that if anyone thirsts, let him come to him and drink; from the one who believes in him rivers of living water will flow. John explains that he was speaking of the Spirit that those who believed would receive, when Jesus was glorified. The crowd divides: some say he is the Prophet, others the Christ, and others object that the Christ will not come from Galilee. The guards sent to arrest him return empty-handed, impressed that no one has ever spoken like him. The Pharisees scold them, but Nicodemus, reminds them that the law does not condemn anyone without hearing him first, and they answer him with scorn.