This will help them understand the different reasons why they go attacking strangers in the street and help prevent them doing so again.

英訳に間違いが有れば正してください。

これは彼らが路上で見知らぬ人々を襲うさまざまな理由を理解し、再びそのような行為に及ぶことを防ぐのに役立ちます
This will help them understand the different reasons why they go attacking strangers in the street and help prevent them doing so again.

ヒント
preventの使い方は?

答え 間違いなし

prevent them from doingのfromは省略可能