《论衡·卷二十九·对作篇》
所以贤人生活在社会上，做官就尽忠宣扬教化，以显扬朝廷的圣德；不当官就著书评论是非，纠正不良的风气。
故夫贤人之在世也，进则尽忠宣化，以明朝廷；退则称论贬说，以觉失俗。
Therefore, when sages live in society, they will do their best to spread education when they become officials, so as to show the virtue of the court; when they are not officials, they will write books to comment on right and wrong, and correct bad habits.
<s>[INST] 请将下面的文言文翻译成英语: 故夫贤人之在世也，进则尽忠宣化，以明朝廷；退则称论贬说，以觉失俗。 [/INST] Therefore, when sages live in society, they will do their best to spread education when they become officials, so as to show the virtue of the court; when they are not officials, they will write books to comment on right and wrong, and correct bad habits.</s>
请将下面的文言文翻译成英语: 故夫贤人之在世也，进则尽忠宣化，以明朝廷；退则称论贬说，以觉失俗。
user
Therefore, when sages live in society, they will do their best to spread education when they become officials, so as to show the virtue of the court; when they are not officials, they will write books to comment on right and wrong, and correct bad habits.
assistant