Hesiod describes Pandora’s creation as part of Zeus’s punishment in Works and Days.
Hesiod was an early Greek poet traditionally dated to the late eighth or early seventh century BCE. Works and Days combines advice about farming and justice with myths explaining the human condition, including the stories of Prometheus and Pandora. Its Pandora passage is one of the earliest surviving literary accounts of the character.
Hesiod also discusses Pandora in the Theogony, but the Works and Days narrative gives the fuller sequence involving Prometheus, fire, Pandora’s creation, and the release of troubles. This makes Hesiod central to understanding the oldest widely known form of the myth.
Homer is a frequent wrong answer because he is another foundational Greek poet, but the surviving Homeric epics do not provide the principal Pandora narrative. Pindar and Sappho were also important Greek poets, yet neither is the source of this account.