historical influences on religion