《后汉书·本纪·皇后纪上》
我先祖既以武功书之竹帛，又以礼乐教化子孙，所以能约束修整自己，不触犯法律陷身罗网。
先功既以武功书之竹帛，兼以文德教化子孙，故能束修，不触罗网。
My ancestors not only wrote their martial arts on bamboo and silk but also taught their descendants with rites and music. Therefore, they were able to restrain and improve themselves, and didn't break the law or fall into trouble.
<s>[INST] 将以下文言文翻译成现代汉语: 先功既以武功书之竹帛，兼以文德教化子孙，故能束修，不触罗网。 [/INST] 我先祖既以武功书之竹帛，又以礼乐教化子孙，所以能约束修整自己，不触犯法律陷身罗网。</s>
将以下文言文翻译成现代汉语: 先功既以武功书之竹帛，兼以文德教化子孙，故能束修，不触罗网。
user
我先祖既以武功书之竹帛，又以礼乐教化子孙，所以能约束修整自己，不触犯法律陷身罗网。
assistant