Herodotus: The Gods of Ancient Egypt

Herodotus often wrote about the Egyptian gods under Greek names. He thought the Egyptian gods were more or less the same as the Greek ones. Was he right?