Cultural diffusion and religious influence