The purpose of criminal law is to criminalise otherwise lawful citizens if they commit (what society defines to be) a crime.