Given the sentence,
We discourage people from committing crimes by using law enforcement, religion and education.
I see two possible interpretations:
- [We discourage people by using law enforcement, religion and education] from committing crimes.
- We discourage people from [committing crimes by using law enforcement, religion and education].
Of course the second interpretation may not make sense in this particular case, but generally speaking both interpretations are equally valid. So my question is, how to rearrange the sentence for it to be well-structured and have only one clear interpretation?

