Herod Antipas hears about Jesus and thinks he is John the Baptist raised from the dead. Matthew then tells how Herod had imprisoned John at the request of Herodias, the wife of his brother Philip, because John kept telling him it was not lawful to have her. On his birthday, Herodias's daughter dances and pleases Herod so much that he promises to give her whatever she asks. Prompted by her mother, she asks for the head of John on a platter. Herod, grieved, orders it because of his oaths, and John's disciples take the body, bury it and tell Jesus.
Jesus withdraws by boat to a solitary place, but the crowds follow on foot. Seeing them, he has compassion and heals their sick. In the evening the disciples ask him to send the people away to buy food, but he tells them to give them something to eat. They have only five loaves and two fish. Jesus has the people sit on the grass, looks up to heaven, blesses, breaks the loaves and gives them to the disciples to distribute. Everyone eats and is satisfied, and twelve baskets of leftovers are gathered. There were about five thousand men, besides women and children.
Jesus makes his disciples get into the boat and go ahead of him, dismisses the crowd and goes up the mountain to pray alone. In the fourth watch of the night the boat is far from land, battered by the wind, and Jesus comes toward them walking on the sea. The disciples, terrified, think it is a ghost, but he says to take heart, it is I, do not be afraid. Peter asks to be commanded to come to him on the water; Jesus calls him, and Peter walks, but seeing the strong wind he becomes afraid, begins to sink and cries out to be saved. Jesus reaches out, catches him and says he has little faith. When they get into the boat the wind ceases, and the disciples worship him, saying he is truly the Son of God. At Gennesaret the sick who touch the fringe of his cloak are healed.