Matthew 2:12

12 And having been warned in a dream not to return to Herod, they left for their own country by another road.

Matthew 2:12 In-Context

10 When they saw that the star had stopped, they were overwhelmed with joy.
11 On entering the house, they saw the child with Mary his mother; and they knelt down and paid him homage. Then, opening their treasure chests, they offered him gifts of gold, frankincense, and myrrh.
12 And having been warned in a dream not to return to Herod, they left for their own country by another road.
13 Now after they had left, an angel of the Lord appeared to Joseph in a dream and said, "Get up, 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."
14 Then Joseph got up, took the child and his mother by night, and went to Egypt,
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.