One of the basic principles of criminal law is to distinguish the immoral act and illegal act, which does not necessarily mean that the two are independent of each other. On the one hand, criminal legal norms usually contain moral rules. On the other hand, when considering the criminal law, it is necessary to distinguish the two. This paper studies article 194 of the Macao Penal Code, and demonstrates how we can deal with this issue.