Mesopotamian religious texts describe the shrine at a ziggurat's summit not as a hall for congregational worship but as the dwelling place of the city's patron deity, a residence the god or goddess occupied within the human city rather than a distant heaven, an idea that made the ziggurat functionally closer to a palace built for a divine ruler than to a temple in the modern sense.
Ordinary residents of the city had no general right of access to the summit shrine; care of the deity's image, including its feeding, clothing and daily attendance, fell to a specialized priesthood attached to the temple complex at the ziggurat's base, and the ziggurat itself typically formed only the most visible element of a much larger temple precinct that handled the practical business of the cult, including substantial landholding, grain storage and craft production. Each major Mesopotamian city maintained its own patron deity and, in principle, its own ziggurat, so that the structure functioned as a marker of civic as well as religious identity, and building or rebuilding a city's ziggurat was among the most significant acts a Mesopotamian king could undertake to demonstrate his piety and legitimacy. The biblical account of the Tower of Babel in Genesis 11, describing a tower built to reach heaven and the confusion of languages that followed its construction, is widely read by scholars as a polemical response to Babylon's Etemenanki, transforming a structure meant to honor Marduk into an emblem of human overreach.