What does John 6:5 mean?
Jesus' response to the crowd's hunger begins as a test of His disciples. This is a strong contrast to the temptations of the Devil, who probes our faith looking for weaknesses to lead us towards sin. God's tests, on the other hand, are meant to refine our faith. The following reactions give us some insight into the unique way we, as Christians, might respond to opportunities for service which God places in our paths.The varied reactions of the disciples are especially instructive, particularly as recorded in Mark 6:36. There, we see that their initial response to the problem is an attempt to just "send them away." Jesus, of course, rejects this option and presses the men on what to do. Philip's answer, possibly sarcastic, is to throw money at the problem. Andrew suggests working to solve it. Jesus' answer to the dilemma is to start with an appeal to God, rather than an appeal to human ability.
Jesus' question to Philip is purposefully leading him in a certain direction. According to the next few verses, the crowd was large enough that providing each with only a snack would have cost a laborer several months' wages.