When Jesus heard about John, he withdrew in a boat to a deserted place by himself. When the crowds learned this, they followed him on foot from the cities.
References for Matthew 14:13
When Jesus arrived and saw a large crowd, he had compassion for them and healed those who were sick.
That evening his disciples came and said to him, "This is an isolated place and it's getting late. Send the crowds away so they can go into the villages and buy food for themselves."
But Jesus said to them, "There's no need to send them away. You give them something to eat."
They replied, "We have nothing here except five loaves of bread and two fish."
He said, "Bring them here to me."
He ordered the crowds to sit down on the grass. He took the five loaves of bread and the two fish, looked up to heaven, blessed them and broke the loaves apart and gave them to his disciples. Then the disciples gave them to the crowds.
Everyone ate until they were full, and they filled twelve baskets with the leftovers.
About five thousand men plus women and children had eaten.
Right then, Jesus made the disciples get into the boat and go ahead to the other side of the lake while he dismissed the crowds.
References for Matthew 14:22
When he sent them away, he went up onto a mountain by himself to pray. Evening came and he was alone.
Meanwhile, the boat, fighting a strong headwind, was being battered by the waves and was already far away from land.
Very early in the morning he came to his disciples, walking on the lake.
When the disciples saw him walking on the lake, they were terrified and said, "It's a ghost!" They were so frightened they screamed.
Just then Jesus spoke to them, "Be encouraged! It's me. Don't be afraid."
Peter replied, "Lord, if it's you, order me to come to you on the water."
And Jesus said, "Come." Then Peter got out of the boat and was walking on the water toward Jesus.
But when Peter saw the strong wind, he became frightened. As he began to sink, he shouted, "Lord, rescue me!"
Jesus immediately reached out and grabbed him, saying, "You man of weak faith! Why did you begin to have doubts?"
When they got into the boat, the wind settled down.
Then those in the boat worshipped Jesus and said, "You must be God's Son!"
When they had crossed the lake, they landed at Gennesaret.
References for Matthew 14:34
When the people who lived in that place recognized him, they sent word throughout that whole region, and they brought to him everyone who was sick.
Then they begged him that they might just touch the edge of his clothes. Everyone who touched him was cured.