The author of the precious book by the name of "the complexion of prayer" pointed to a verse about the prayer and said: if people act upon this verse, all the judicatures and courts will be devoid of people, all prisons will be devoid of prisoners and there will be less and less oppressions in the societies. This is the verse: "prayer keeps one away from indecency and evil" (AL-ANKABOOT(THE SPIDER)- Verse 45)", the verse doesn't say that if you say prayers, the Almighty God will help you stay away from the evils, wrongdoing, the major sins and immorality; in fact, the verse says; if you say your prayers, the prayer itself will help you stay away from the evil and wrongdoings.
source : erfan.ir