Homines dum docent discunt. A Latin phrase, usually translated into English as "Men learn while they teach."