This is Mark 6:35-52:
Jesus Feeds the Five Thousand
By this time it was late in the day, so his disciples came to him. “This is a remote place,” they said, “and it’s already very late. Send the people away so that they can go to the surrounding countryside and villages and buy themselves something to eat.”
But he answered, “You give them something to eat.”
They said to him, “That would take more than half a year’s wages! Are we to go and spend that much on bread and give it to them to eat?”
“How many loaves do you have?” he asked. “Go and see.”
When they found out, they said, “Five—and two fish.”
Then Jesus directed them to have all the people sit down in groups on the green grass. So they sat down in groups of hundreds and fifties. 41 Taking the five loaves and the two fish and looking up to heaven, he gave thanks and broke the loaves. Then he gave them to his disciples to distribute to the people. He also divided the two fish among them all. They all ate and were satisfied, and the disciples picked up twelve basketfuls of broken pieces of bread and fish. The number of the men who had eaten was five thousand.
Jesus Walks on the Water
Immediately Jesus made his disciples get into the boat and go on ahead of him to Bethsaida, while he dismissed the crowd. After leaving them, he went up on a mountainside to pray.
Later that night, the boat was in the middle of the lake, and he was alone on land. He saw the disciples straining at the oars, because the wind was against them. Shortly before dawn he went out to them, walking on the lake. He was about to pass by them, but when they saw him walking on the lake, they thought he was a ghost. They cried out, because they all saw him and were terrified.
Immediately he spoke to them and said, “Take courage! It is I. Don’t be afraid.” Then he climbed into the boat with them, and the wind died down. They were completely amazed, for they had not understood about the loaves; their hearts were hardened.