The Egyptians believed that before the world was formed, there was a watery mass of dark, directionless chaos. In this chaos lived the Ogdoad of Khmunu (Hermopolis). These were four frog gods and four snake goddesses of chaos. Together they represented balance in infinity.