In John 6, feeding the 5000 sets up the discourse on bread which will follow the miracle of the loaves and fishes. Y'shua's walking on water sets up a discussion of what it means to have a hard heart.