In chapter 7, the city of Bethulia is besieged by Holofernes and his army. The people of Bethulia earnestly beseech the Lord in prayer, yet, their faith is not as strong as it should be. Holofernes and his people notice that Bethulia has a water supply coming into the city through an aqueduct, so they block up the aqueduct, cutting off the supply of water. This clearly makes the people afraid. Even once the main supply of water is cut off, there are sparse springs near the city walls that people come out to to drink. They were seen to draw water secretly, to refresh themselves a little rather than to drink their fill (Judith 7:7)
Eventually the people come whining to the leaders of the city about the lack of water, begging them to surrender to Holofernes so that they can quench their thirst. The chief leader of the city, Uzziah, asks them for a grace period of five days so that the Lord will have a chance to respond to their prayers.
In chapter 8, Judith chastises the elders for setting dates. They had essentially given God a timeline to dish out his mercy upon them and agreed to give up the city if God hadn’t made himself known in five days. Judith, and rightly so, tells them that this was a very audacious thing to do and that they now need to pour out their souls in fasting, prayer, and repentance and hope they haven’t angered God. She makes her own plans and leaves them at the city gates to watch and pray.