Religion helps people focus on the present by finding peace in God's will and trusting in his plans and guidance. This inner peace permeates outwards and reduces conflict.
Religions provided, for centuries, common behavioral guidelines for the society, enabling an organized and peaceful coexistence what constitutions and legal codes do today.