His roles in Egyptian mythology were many. Thoth served as a mediating power, especially between good and evil, making sure neither had a decisive victory over the other.