Hesiod described a pithos, a large Greek storage jar, rather than a small box. In the story, Pandora opens the container and releases troubles into the human world, while hope remains inside.
A pithos was a substantial ceramic vessel used in the ancient Greek world for storing commodities such as grain, oil, or wine. Some were large enough to be partly buried in the ground. Its practical role makes it very different from the hinged box imagined by modern illustrations.
The “box” wording became established through a Renaissance translation. The humanist Erasmus rendered the Greek vessel as a Latin pyxis, a box or casket, and that choice influenced later European versions of the story.
The correction is important but does not make the modern expression wrong. “Pandora’s box” is now an established idiom meaning a source of unexpected complications. The ancient object, however, was a pithos.