The ancient Egyptians had advanced knowledge of construction and the stars. They probably got this knowledge trough psilocybin use, because psilocybin activates the brain 100%. And that is why they were far more advanced then other people of their time. This was the edge that they had over others.
We found many ancient Egyptian hieroglyphs showing clear representations of psilocybin mushrooms. We have also found obvious links with other ancient polytheistic religions such as ancient Greece, Rome and India.