《礼记·坊记》
即使严密地设置堤防，百姓中还是有越规的。所以君子用礼来防止道德上的过失，用刑来防止邪恶的行为，用教令来防止贪婪的欲望。 
故君子礼以坊德，刑以坊淫，命以坊欲。
Although the embankments are closely constructed, there are still people among the people who will transgress them. Therefore the gentleman uses the rites to prevent ethical errors, uses punishments to prevent evil actions, and uses education to prevent unbridled desires.