Sin is part of human nature - shown in the story of Adam and Eve, God ordered the Ten Commandments to teach people right from wrong, crimes treat people unfairly and God doesn't want that, not revenge but forgiveness, the devil and his jinns (spirits) tempt people into committing crime or causing people to suffer, when someone commits a crime, they have given into temptation, not resisting temptation doesn't make them inherently a bad person, humans are NOT perfect