Whether or not religion is true, whether the deities that people worship exist, etc., the fact remains that religion regulates behavior.  Religion and the worship of a supernatural being gives purpose to morality and law. Because we have a purpose to exist and a goal to look forward to (heaven, the spirit world, reincarnation, whatever), there is a cause for legal restrictions. Without life purpose or goals, law has no institution among men, and from experience, man does not handle anarchy very well. 
Patrick F. Fagan, Ph. D, said this in his article "Why Religion Matters: The Impact of Religious Practice on Social Stability": 
"When policymakers consider America's grave social problems, including violent crime and rising illegitimacy, substance abuse, and welfare dependency, they should heed the findings in the professional literature of the social sciences on the positive consequences that flow from the practice of religion."
He mentions that religion provides many boosts to the social unit, such as marital stability, the removal of poverty, sound judgement, the abiding of social law, the abstinence of social drawbacks such as drug abuse and crime, reparations for problems caused by social drawbacks, and even life longevity due to the convincing of maintaining physical health.
Now, I'm a fair player; I did my research on both sides of the question, including the possible answer "religion has no place in modern globalization." Atheists, agnostics, and scientists have disapproved of religion for years because "it has always been a force of control, repression, and authoritarianism," "it has been opposed to intellectual and scientific advances," and "repression of literature." However, I disagree. Refuting the first point, many religions, including Islamic, Chritsian, and modern Hinduism (the top three religions in the world), MUST obey the law of the land, showing much of popular religion has no intention of overpowering modern globalization. As for the opposition to science, Einstein stated "...I maintain that the cosmic religious feeling is the strongest and noblest motive for scientific research."  Isaac Newton, the Father of Physics, said "Gravity explains the motions of the planets, but it cannot explain who sets the planets in motion," and "This most beautiful system of the sun, planets and comets, could only proceed from the counsel and dominion of an intelligent and powerful Being."  Although he clearly believed in some higher being, showing a sense of religion, it did not hinder the fact that his scientific studies brought about anything and everything we know about physics today. As for "repressing literature," I refer to Ancient Greece, whose poets and bards are world renown and historically immortal, and many of their writings are based on the Greek Pantheon, deities, demigods, and the epics that speak of their heroism. Their religion was nothing if not influential in favor of literature.
When religions are used as a force for shaping and manipulating society it does not mean
that its spiritual and altruistic effects are negated but it nevertheless is a manipulation of
the masses for selfish or political reasons. Attempts at controlling society by using God
as an authoritarian figure or as an angry patriarchal Concept of God has historically
always had the indirect dire consequences of motivating peoples desires to please this
deity to a point where they will indiscriminately fight and die for that cause. The common
man is thereby used as a tool for the political enhancement of the manipulator.
We can see the results of this manipulation most often in the uneducated parts of the
world. Fighting between Muslims and Christians in Sudan has for past 21 years been the
cause of over two million deaths in that region. Muslims are still told by clerics to expand
Islam by any means possible; this supposedly is Allah’s message to Muhammad. This
goal of attempting to please Allah has caused strife between Muslims and its neighbors in
the Philippines, Malaysia, Cambodia, India and many other regions of the world.
When the truth behind the concept is known, only then can one accurately judge the
concept. Spirituality is an interaction of man’s spirit with the Spirit of God. This
interaction was often expanded upon by followers who added their own interpretations
and gradually the original message was skewed to meet the agenda of the newly formed
religion. The complexities, histories, and practices of religions have always been used to
indoctrinate and keep new members from questioning the composition of the God that
religions have created for the masses. True spirituality and a true God is self-sufficient
and requires nothing from mankind. This is the value of truthfulness and rationality.-
With or without religion people are still going to be afraid to do wrong for fear of a god that may or may not exist. And thats the only benefit of religion. Religion teaches us that horrible things are justifiable. Also the good parts of conventional religious morality are discredited along with the bad parts of conventional religious morality leaving a lot of people completely immoral. All religion does is make a few peoples opinions on right and wrong almost everybodys opinion which hasnt ever been a good thing. Religion has opposed almost all of our moral progress. Its the principal enemy of moral progress. The more intense the religion is and the more profound the dogmatic belief is the greater is the cruelty and the worse is the state of affairs. History proves that. Religion justifies horrible things and it is written by people that we modern day folks dont agree with. According to the bible you can own slaves, treat women like shi*, and kill and torture people for their beliefs.