This is a famous saying by Aristotle. I think it should be divided into two sentences to understand. The first half of the sentence says "I respect my teacher." We know that Yaon is very knowledgeable. But he was not conceited or arrogant. Yaweng was still respectful and courteous to his teacher, which further showed his humble character and made the world respect him more. The latter sentence says "I like to pursue the truth", which is exactly Yaweng's attitude towards learning. If you connect these two sentences, it means that when what the teacher says is not the truth, he will stand on the side of the truth.