This god, who spoke the words that created all of heaven and earth, also gambled with the moon to win five more days to make the year three hundred and sixty five days long, after which he created its calendar.
Late in dynastic history, a strong cult of this god was established at Khnum, while this god was sometimes said to be the consort of Astennu. This god was notable for intervening in battles of good and evil to heal the injured party so that neither could overtake the other. This god, who spoke the words that created all of heaven and earth, also gambled with the moon to win five more days to make the year three hundred and sixty five days long, after which he created its calendar. This god, who was sometimes regarded as the monkey A'an, was in charge of deciding when the scales of a heart outweighed the feather of Ma'at, and he was also ascribed the creation of magic. For ten points, identify this ibis-headed Egyptian deity of writing.
Late in dynastic history, a strong cult of this god was established at Khnum, while this god was sometimes said to be the consort of Astennu.
{Thoth}