Possible meanings are 1) the people denied themselves water as part of fasting or 2) they got water out of a stream or well and poured it on the ground as an outward sign of being sorry for their sin. (See: [[rc://en/ta/man/translate/figs-explicit]])