for the dreams that had disturbed them foretold it, so that they would not perish ignorant of why they were suffering.
In context
17Then at once apparitions in terrible dreams threw them into panic, and dreads they had not reckoned on took their stand over them. 18One flung down here, another there, half-dead, each disclosed the reason he was dying; 19for the dreams that had disturbed them foretold it, so that they would not perish ignorant of why they were suffering. 20The trial of death touched the just as well, and a shattering blow fell on the multitude out in the wilderness; but the anger did not last long. 21For a blameless man hurried to champion them: bringing out the weapon of his own ministry, prayer and the atoning of incense, he stood up to the fury and brought the disaster to a close, showing that he was your servant.