Imagine that the whole of humanity's knowledge and understanding of the world, all books, all scientific stuff, all religious texts, everything, all were wiped out and reset. People could still function and survive but would not know about science, or religion, or spiritual ideas. So it would be like discovering everything all over again.
Eventually people would learn to understand about gravity again, and electricity, and medicine. All the same scientific facts would still b...e there, to be rediscovered. But would anyone recreate the exact bible? Or that concept of religion? Or think of things in exactly the same spiritual way? Most likely they would come up with some different philosophy or religion, but it wouldn't be the same. Because it's bullshit, all of it. They would invent some new bullshit, nothing they thought of would be exactly the same religion or god or spiritual belief.