AI only reads the data it's given, and I'll admit it gives a lot better-balanced and more detailed answers than most average people.
I had to use it, as it was that or researching through Wikipedia to draw my conclusions, and to be honest, it saved a lot of time and effort, and AI still gave a balanced rather than biased view.
In basic terms, without a full dissertation to show my research, basically, yes, I can see in some aspects why society back then needed religion. But when you actually research Christianity, there seems to be a lot of copying and pasting from other religions to make Christianity what it became.
Also, Christianity seemed to have quite a lot of issues with scientists and other individuals that did not bow down to the church's authority. From that, I concluded that religion could be debated as primarily a method used to control the masses and population before modern society arose and the Enlightenment.
Bottom line, without religion suppressing science, etc., society would be a lot more advanced. And yet again, because some people wanted to control society, society as a whole was limited in its potential for what society could have achieved without the chains of religion.