Crime and literature have a rich history together. Daniel J. Kornstein says, "Literature and crime live in happy symbiosis. Literature often depends on crime for a good story, and that story often in turn yields important insights about crime." (Source) Regardless of the magnitude of the crime, whether it involves breaking a taboo or outright murder, the perpetrator arrives at a moment of decision and chooses to commit it. Not everyone turns to crime when the opportunity arises. Getting inside the mind that does provides fascinating fodder for fiction.
A wonderful selection of articles on the topic of crime in literature can be found HERE.