A great crowd follows Jesus across the Sea of Galilee because they have seen his signs. Jesus tests Philip by asking where to buy bread for so many; Philip says that even two hundred denarii would not be enough. Andrew points to a boy with five barley loaves and two fish. Jesus has the people sit down on the grass, gives thanks, distributes the food, and everyone eats until satisfied; twelve baskets are left over. Seeing the sign, they want to make him king by force, and Jesus withdraws alone to the mountain.
At evening the disciples get into a boat to cross to Capernaum, and the sea is stirred by a strong wind. When they have rowed about three or four miles they see Jesus walking on the sea and drawing near the boat, and they are afraid. He tells them it is he and not to be afraid; they welcome him aboard, and at once they reach shore.
The next day the crowd looks for him. Jesus tells them they seek him because they ate bread and not because of the signs, and urges them to work for the food that lasts. When they ask for a sign like Moses' manna, he answers that the Father gives the true bread from heaven, and declares: I am the bread of life; whoever comes to me will not hunger, and whoever believes in me will never thirst. He promises not to cast out anyone who comes to him, and says the Father's will is that everyone who believes in the Son have eternal life.
The Jews grumble because they know him as Joseph's son. Jesus insists that no one comes to him unless the Father draws him, and that whoever eats his flesh and drinks his blood has eternal life. Many of his disciples say the teaching is hard and leave. Jesus asks the Twelve whether they also want to go. Peter answers that they have nowhere to go, since only Jesus has the words of eternal life and they believe he is the Holy One of God. Jesus says that one of them is a devil, and John identifies Judas.