Wisdom 18:17

17 At that moment the people who were about to die had terrible nightmares and were seized by sudden fear.

Wisdom 18:17 In-Context

15 when suddenly your threats were carried out! An invincible word of judgment sped from your royal throne in heaven, straight down to that doomed land. It came like a soldier in fierce attack,
16 carrying out your firm command with a fearful weapon, standing with feet on the ground and head touching the sky, filling the land with death.
17 At that moment the people who were about to die had terrible nightmares and were seized by sudden fear.
18 All over the land they lay half-dead and let it be known why they were dying.
19 They knew why they were dying, because their horrible dreams had told them.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.