These monasteries kept faith and learning alive within their walls, evangelized barbarian peoples, and taught them how to pray, to read, to plant crops, and to build things. Over the next few centuries, they prepared the devastated societies of post-Roman Europe for the rebirth of civilization.