I read verses like these and am amazed by their quick action upon having a dream. Wisemen changed the course back home, Joseph got up in the middle of the night and took his family to Egypt. God speaks to us in many ways and leads us down paths that protects us. What He is saying to your heart today? How is He leading you? Are you listening? Is it your desire to hear Him?
Matthew 2:13
Now when they had departed, behold, an angel of the Lord appeared to Joseph in a dream and said, “Rise, take the child and his mother, and flee to Egypt, and remain there until I tell you, for Herod is about to search for the child, to destroy him.” And he rose and took the child and his mother by night and departed to Egypt and remained there until the death of Herod
2:12
And being warned in a dream not to return to Herod, they departed to their own country by another way
Job 33:15
In a dream, in a vision of the night,
when deep sleep falls on men,
while they slumber on their beds,
then he opens the ears of men
and terrifies them with warnings,
that he may turn man aside from his deed
and conceal pride from a man;
he keeps back his soul from the pit,
his life from perishing by the sword