Next (v 10), the miracle is presented. First, we see the people arranged; secondly, the miracle itself; and thirdly, the gathering of the leftovers. He does two things about the first. First, he shows Christ directing the disciples to have the people recline; secondly, why this was appropriate; and thirdly, he tells us the number of people present.
Our Lord told his disciples to arrange the people so that they could eat; thus Jesus says, Make the people recline, i.e, to eat. For as mentioned before, in former times people took their meals lying on couches; consequently, it was the custom to s...ay of those who sat down to eat that they were reclining. In the mystical sense, this indicates that rest which is necessary for the perfection of wisdom. Again, the people are prepared by the disciples because it is through the disciples that the knowledge of the truth has come to us: "Let the mountains receive peace for the people" (Ps 71:3).
The character of the place shows why it was convenient that they recline, for There was much grass in the place. This is the literal meaning. In the mystical sense, grass indicates the flesh: "All flesh is grass" (Is 40:6). In this sense it can refer to two things. First, to the teachings of the Old Testament, which were given to a people resting in things of the flesh and wise according to the flesh: "If you are willing, and listen to me, you will eat the good things of the land" (Is 1:19); "The posterity of Jacob dwells in a land of grain, wine and oil" (Dt 33:28). Or, it can refer to one who perceives true wisdom, which cannot be attained without first abandoning the things of the flesh: "Do not imitate this world" (Rom 12:2).
There was a great number of people; thus he says, the men reclined, in number about five thousand. The Evangelist counted only the men, according to the custom in the law, for as mentioned in Numbers (1:3), Moses counted the people who were twenty years and older, without including the women. The Evangelist does the same, because only men can be completely instructed: "We speak wisdom to those who are mature" (1 Cor 2:6); "Solid food is for the mature" (Heb 5:14).
Source: Commentary on John