The Maya and Aztec thought highly of education, and made sure that all children were taught.
As they did not have an easy way of writing (they used glyphs, just like the ancient Egyptians), they passed on most of their history, laws and religion by word of mouth.
There were severe punishments for misbehaviour!