By conferring the supernatural legitimacy on the norms and laws you strengthen the social control as now the laws and norms are in connection to some force that is larger than man. Also according to Emile Dukrheim the religion is the thing that promotes social solidarity while other thinkers also propose that religion contributes to the social cohesion.