Hesiod wrote the earliest surviving literary version of the Pandora myth.
The story appears in Hesiod’s Works and Days, a didactic poem generally dated to the late eighth or early seventh century BCE. Hesiod presents Pandora in the context of Zeus’s punishment of humanity after Prometheus took fire.
Hesiod also mentions Pandora in the Theogony, although the fuller narrative belongs to Works and Days. His account describes her creation by the gods, her gifts, and the sealed container whose opening changes the human condition.
Homer is earlier or roughly contemporary in Greek literary history, but the surviving Homeric poems do not contain the Pandora story in the form given by Hesiod. Sophocles and Ovid belong to later traditions and are therefore not the source of the earliest surviving account.