Job 33:15-17
15
In a dream, in a vision of the night,
when deep sleep falls on men
as they slumber in their beds,
16
he may speak in their ears
and terrify them with warnings,
17
to turn man from wrongdoing
and keep him from pride,