Matthew 2:22

But when he learned that Archelaus was reigning in Judea in place of his father Herod, he was afraid to go there. And having been warned in a dream, he withdrew to the district of Galilee,
BSB · Berean Standard Bible
But when he heard that Archelaus did reign in Judaea in the room of his father Herod, he was afraid to go thither: notwithstanding, being warned of God in a dream, he turned aside into the parts of Galilee:
KJV · King James Version
But when he heard that Archelaus was reigning over Judea in the place of his father, Herod, he was afraid to go there. Being warned in a dream, he withdrew into the region of Galilee,
WEB · World English Bible
But when he heard that Archelaus was reigning over Judæa in the room of his father Herod, he was afraid to go thither; and being warned of God in a dream, he withdrew into the parts of Galilee,
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

he was
Genesis 19:17–21; 1 Samuel 16:2; Acts 9:13, 14
being
Matthew 2:12; Matthew 1:20; Psalm 48:14; Psalm 73:24; Psalm 107:6, 7; Psalm 121:8; Isaiah 30:21; Isaiah 48:17, 18
into
Matthew 3:13; Luke 2:39; John 7:41, 42, 52