1After Jesus had been born in Bethlehem of Judea in the days of King Herod, wise men from the east arrived in Jerusalem 2and asked, “Where is the one who was born king of the Jews? We saw his star in the east and have come to worship him.” 3When King Herod heard this he was troubled, and all the people of Jerusalem with him. 4He called together all the high priests and scribes of the people and asked them where the Christ was to be born. 5They told him, “In Bethlehem of Judea. For that is what was written by the prophet: 6‘O Bethlehem in the land of Judah,you are by no means least among the rulers of Judah. For from you will come a rulerwho will shepherd my people Israel.’” 7Then Herod secretly called together the wise men and found out from them the time the star had appeared. 8Then he sent them to Bethlehem, saying, “As you go, search carefully for the child. When you find him, tell me so that I, too, may go and worship him.” 9After listening to the king, they set out, and the star they had seen in the east went ahead of them until it came and stopped over the place where the child was. 10When they saw the star, they were ecstatic with joy. 11After they went into the house and saw the child with his mother Mary, they fell down and worshiped him. Then they opened their treasure sacks and offered him gifts of gold, frankincense, and myrrh. 12Having been warned in a dream not to go back to Herod, they left for their own country by a different road. 13After they had gone, 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. Stay there until I tell you, because Herod intends to search for the child and kill him.” 14So Joseph got up and took the child and his mother and left at night for Egypt. 15He stayed there until Herod's death in order to fulfill what was declared by the Lord through the prophet when he said, “Out of Egypt I called my Son.” 16When Herod saw that he had been tricked by the wise men, he flew into a rage and ordered the execution of all the male children in Bethlehem and all its neighboring regions who were two years old and younger, according to the time that he had determined from the wise men. 17Then what was declared by the prophet Jeremiah was fulfilled when he said, 18“A voice was heard in Ramah:wailing and great mourning. Rachel was crying for her children.She refused to be comforted,because they no longer existed.” 19But after Herod died, an angel of the Lord appeared in a dream to Joseph in Egypt 20and said, “Get up, take the child and his mother, and go to the land of Israel, for those who were trying to kill the child are dead.” 21So Joseph got up and took the child and his mother and went into the land of Israel. 22But when he heard that Archelaus was ruling over Judea in place of his father Herod, he was afraid to go there. Having been warned in a dream, he left for the region of Galilee 23and came and settled in a town called Nazareth in order to fulfill what was said by the prophets: “He will be called a Nazarene.”