That was true hundreds of years ago, and there are better alternatives to religions now. Religions caused the massacre of millions all over the sub-continent on the eve of the partition in 1947. These days, religions bring more chaos, as we have seen on our western border. Jinnah was lucky that he died before his Dominion of Pakistan became an Islamic Republic run by fanatics and generals.
There was no partition since the British Raj was not a country, just a mere colony. Nobody calls the desolation of British North America, which included Canada & America as "partition."
The other thing is religion is a part of human psyche. People tend to confuse it with theism, not realizing it is just a mere example of religion.
For example Marxism is also a religion, just not theistic. Many communist countries persecuted and killed people suspected of being affiliated with theism or simply being opposed to Marxist ideology.
Now in Western countries we can see with the decline of Christianity, new religions such as environmentalism, veganism and holocaust worship are taking it's place.
None of them seem to be progressive and even counter beneficial. So religion is here to stay.
To understand the effects of religion, we have to study human psychology, sociology and related topics. Theology does not help in this regard.
It's a common belief system shared amongst humans. Whether those beliefs are right or wrong or particularly right or wrong does not matter.
Humans as a social species are driven by a common set of values and habits and held together on these basis, wheather right or wrong.
That has defined our social/psychological characteristics as a species since probably the dawn of our existence.