Works and Days tells of Pandora's creation as punishment for Prometheus's theft of fire.
The poem is attributed to Hesiod and combines practical advice about farming and justice with myths about humanity's condition. Its Pandora episode explains how Zeus responded after Prometheus brought fire to mortals. The gods create Pandora, and her opening of the vessel introduces suffering into human life.
Hesiod also refers to Pandora in Theogony, so Works and Days is not the only ancient text connected with her. It is, however, the work most directly associated with the detailed account of the jar, the escaping evils, and the remaining hope. The poem is therefore a more precise answer than the broader label “Greek mythology.”