Is there a scientific basis for feudal superstition in temples? Why do so many people believe it?

Feudal superstition is religion, so it can be said that religion is a beautiful daydream that people imagine to comfort themselves when they are helpless, and it is a spiritual sustenance. If there is a scientific basis, it is only a mental activity, without scientific basis, and it has gradually become a cultural custom.