Thoth played very important roles in Egyptian myths. He was said to have resurrected Osiris after he was slain by Seth and also later resurrected his son, Horus. He was also credited for creating 365 days instead of 360. One myth explains how Ra bans Nut from having children on any day of the year. Thoth then goes to the moon god, Khonsu, and gambles five days out of him, therefore giving five days (the demon days) when Nut can have children. He also was sometimes said to take the place of the Primeval Goose and be the creator of the world and all other gods.