In Greek mythology, Pandora’s creation was intended to punish Prometheus through humanity.
Prometheus had stolen fire from the gods and given it to human beings. Zeus responded by arranging a broader punishment. According to Hesiod, Pandora was created and sent into the human world, where the opening of her vessel brought suffering to mortals. The episode therefore belongs to the larger myth of the theft of fire.
Prometheus was a Titan, although later Greek stories often portray him in a heroic role because he benefits humanity. His name is sometimes associated with forethought, while his brother Epimetheus is associated with afterthought. Pandora was sent to Epimetheus, linking the two brothers within the same narrative.
The myth does not say that Pandora directly attacked Prometheus. Instead, her arrival and the release of troubles formed part of Zeus’s punishment for the consequences of Prometheus’s defiance.