Legal-awareness education helps the public both know the law and abide by it.
Tips
usage
Most often appears in the four-character phrase 知法犯法 ('knowing the law yet breaking it' - used pejoratively, especially of legal professionals or officials) and the contrast pair 知法守法 (knowing and abiding by law).