In the Greek myth of Pandora, hope remains inside the vessel after all the evils escape.
Hesiod’s Works and Days says that Pandora lifts the lid of the container, releasing diseases and other troubles into the world. She then closes it before one final thing can escape. The Greek word used is elpis, commonly translated as “hope.”
The story does not plainly state whether hope is a blessing kept for humanity or another affliction trapped inside. That ambiguity has produced different interpretations in classical scholarship and later literature. Modern retellings usually present hope as the comforting gift left to humans after suffering enters the world.
A common mistake is to assume that the oldest version says Pandora opened a box. Hesiod describes a pithos, a large storage jar; the “box” wording became widespread much later through Renaissance translation and retelling.