No, that is a profoundly ignorant perspective on the truths and pragmatism of ancient wisdom.
The pagan religions were not merely created to explain the unexplainable. Pagan myths and legends imparted greater truths and wisdom, they encoded history and science, and they explained psychological human behavior and interactions with nature. These truths were conveyed very precisely, intricately, exactly as they were, from the cultural perspective, but they are nonsensical to you who will always be outsiders to that tribe, space, and time. The ancients, even illiterate peasants and slaves, had a marvelous grasp of metaphor, allegory, and allusions even to the "pop-culture" of their day! Some of us still do!
Pagan religion was a unifying force for any tribe or nation. The reason it was supplanted with monotheism was because those tribes were unable to unite, or even interact, trade, and communicate efficiently, while still worshiping multiple pagan gods. Therefore, Abrahamic religions became an even grander unifying force on global scales, while still serving the purposes of those ancient myths and legends. As popular piety and local legend was permitted and absorbed, those monotheistic religions were able to flourish and intertwine with those cultures.
To repeat the tired old canard that religion was perpetuated by ignorant benighted dullards, in order to cope or merely survive, is scurrilious, anthropologically ignorant, and shockingly arrogant. The hierarchies and rulers of the ancient world knew exactly what they were doing in every respect. YOU are afraid of spiritualities and the supernatural which you do not understand, and so you denigrate them. Likewise do President Trump and the wisdom of Qanon know what works. Just because they don't think or act the way you expect, doesn't make them stupid or inferior to your atheism/scientim.
So the part where if you don't make an offer to the (priest) of some god it will strike you with thunder was correct, and I am not understanding the hidden meaning? Maybe I was too optimistic with the 2000 years.
I never claimed religion did not fulfill sometimes good purposes. But it perpetuated many bad, incorrect beliefs based on fear that slowed progress. For example not doing to your peer something that you don't like yourself seems something positive for society. Going to hell if you try to understand astronomy seems quite negative for society.
What a simplistic and reductionist ad absurdum strawman argument you've constructed! Congratulations! Also, congratulations on twisting the Golden Rule into a colloquial and negative formulation! Innovative!
If we obstinately persist in willfully misunderstanding how religion, obedience, and sacrifice operate, then we will always reach the same conclusions and be met with a cold shoulder from people who get it.
As we discussed very recently in another thread, priests and priest-scientists were the original scholars and intellectuals, and they knew astronomy intimately well. The astronomers indeed worked out among themselves how the heavens operated. The reason that ordinary laypersons should not learn this was because it was (1) useless to them, (2) quite complex and error-prone without collaboration and a solid background, and (3) extraordinarily perilous to their own well-being, and to the social order, if they should acquire skills and notoriety with it -- "knowledge is power -- absolute power corrupts absolutely". It was treason to be a heretic or usurp the power of clerics.
Galileo and his ilk weren't condemned for "trying to learn" it. Far from that. That's another red herring and canard that's perpetuated by scientism.