"“Sympathy with a person who sins”, is not the same as sympathy with the sin or crime of which he is guilty. We may feel sorry for the plight of the murderer or even understand the circumstances which led him to his crime; we may not feel sympathy with the wrong which he has done. The presentation of evil is often essential for art, or fiction, or drama. This in itself is not wrong, provided: (a) That evil is not presented alluringly. Even if later the evil is condemned or punished, it must not be allowed to appear so attractive that the emotions are drawn to desire or approve so strongly that later they forget the condemnation and remember only the apparent joy of the sin. (b) That thru out the presentation, evil and good are never confused and that evil is always recognized clearly as evil. (c) That in the end the audience feels that evil is wrong and good is right."
January 1, 1970
https://en.wikiquote.org/wiki/Hays_Code