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