those that were hurt or sick he tended , and gave to them the lembas of melian ; and they were quickly healed , for though the greyelves were less in skill and knowledge than the exiles from valinor , in the ways of the life of middle-earth they had a wisdom beyond the reach of men .