On the great day of the feast, Jesus stands and cries out to the thirsty to come to him and drink. The saying occurs at Tabernacles, a festival whose later documented Temple ceremonies included a prominent water-pouring rite.
The setting gives Jesus' words a powerful historical backdrop while requiring care about the exact development of the ritual.