The true ulama were such that they were purified by their teachers and they purified their students.