It also has the benefit of teaching them proper, sustainable farming techniques, which is probably useful, especially in that part of the world.
Truthfully, I think planting and maintaining a garden, and harvesting and using the produce in schools would provide very useful lessons for children, but I'm not sure that many schools have available (or arable) land to devote. I would send my children to a school that offered such a curriculum in a heartbeat.
One thing my son's school did was prepare and serve a meal for the mothers on Mother's day. They made the placemats and other table decorations, learned how to set a table, baked scones and prepared fruit salad, and cleaned up afterwards. Yes, there was adult supervision, but the adults taught and supervised, not performed the work. All valuable life skills... And it was the Children's House that did this, so the children were between six and nine years old.
When the older children moved to a new campus when they were nine to 12 years old, they were expected to spend a couple hours a week maintaining the landscaping. Yes, adults were on-hand to work the heavy (dangerous) equipment, but the kids did the routine pruning and such not.
If the school had wanted to plant a garden and teach cooking, I'd have backed the notion in a heartbeat.