A lot of ancient literature tells the same sort of stories. There are several themes which recur everywhere which describe things which are not part of our experience: the most major of these are large-scale catastrophes such as the flood and two or three other similar events you read about in antique literature, and an antique paradigm for the use of the human brain and mind which was totally different from what we experience today.
The later item included systems for communicating with the spirit world such as prophecy and oracles, as well as several other kinds of things including whatever the "witch of Endor" was doing, and including electrostatic devices such as the "ark of the covenant" and the pyramids.
The word "pyramid" is a Greek word, the base part of which is the same "pyr" we see in 'pyrotechnics' and 'pyromaniac'. I.e. "Fire". The pyramids oritginally had smooth facing stones and golden tips which glowed permanently in the stronger antique electrostatic fields and this somehow or other facilitated communication with the spirit world.
Likewise the ark of the covenant was a primitive capacitor, or Leydon bottle, featuring an electric arc between the arms (cherubim) which is what was meant by the passages claiming that God dwells between the arms of the ark, or the story of the one guy touching the thing while it was being transported on a wagon and being instantly killed.
Now, these people were NOT a bunch of stupid rednecks worshiping an electrical spark; the static electricity was being used somehow or other to communicate with the spirit world.
The closest thing there is to these ancient religious practices in our present world is what is called EVP, or Electronic Voice Phenomena such as was shown in the recent film "White Noise". The best info site for that sort of thing is
http://www.aaevp.com
As was the case with the antique practices, static electricity is involved.