Hesiod first recorded the Pandora’s box myth in written form.
The story appears in two works attributed to Hesiod: the Theogony and Works and Days. Hesiod was an ancient Greek poet generally dated to the late eighth or early seventh century BCE, making his version the earliest surviving literary account of Pandora.
In Works and Days, Zeus sends Pandora to humanity after Prometheus steals fire for mortals. The tale explains why human life includes suffering and labor. The Theogony gives a shorter account, focusing on Pandora’s creation and her role in Zeus’s punishment.
The expression “Pandora’s box” is itself a later misunderstanding. Hesiod described a large storage jar, or pithos, rather than a box. The familiar box wording became established through later translations and retellings.