Now when Jesus heard this, he withdrew from there in a boat to a desolate place by himself. But when the crowds heard it, they followed him on foot from the towns. When he went ashore he saw a great crowd, and he had compassion on them and healed their sick. Now when it was evening, the disciples came to him and said, “This is a desolate place, and the day is now over; send the crowds away to go into the villages and buy food for themselves.” But Jesus said, “They need not go away; you give them something to eat.” They said to him, “We have only five loaves here and two fish.” And he said, “Bring them here to me.” Then he ordered the crowds to sit down on the grass, and taking the five loaves and the two fish, he looked up to heaven and said a blessing. Then he broke the loaves and gave them to the disciples, and the disciples gave them to the crowds. And they all ate and were satisfied. And they took up twelve baskets full of the broken pieces left over. And those who ate were about five thousand men, besides women and children.
Immediately he made the disciples get into the boat and go before him to the other side, while he dismissed the crowds. And after he had dismissed the crowds, he went up on the mountain by himself to pray. When evening came, he was there alone, but the boat by this time was a long way from the land, beaten by the waves, for the wind was against them. And in the fourth watch of the night he came to them, walking on the sea. But when the disciples saw him walking on the sea, they were terrified, and said, “It is a ghost!” and they cried out in fear. But immediately Jesus spoke to them, saying, “Take heart; it is I. Do not be afraid.”
And Peter answered him, “Lord, if it is you, command me to come to you on the water.” He said, “Come.” So Peter got out of the boat and walked on the water and came to Jesus. But when he saw the wind, he was afraid, and beginning to sink he cried out, “Lord, save me.” Jesus immediately reached out his hand and took hold of him, saying to him, “O you of little faith, why did you doubt?” And when they got into the boat, the wind ceased. And those in the boat worshiped him, saying, “Truly you are the Son of God.”
And when they had crossed over, they came to land at Gennesaret.