And when Hadad had heard in Egypt that David had slept with his fathers, and that Joab, the leader of the military, had died, he said to Pharaoh, "Release me, so that I may go to my own land."
Therefore, Solomon wanted to kill Jeroboam. But he rose up and fled away to Egypt, to Shishak, the king of Egypt. And he was in Egypt until the death of Solomon.
And after they had gone away, behold, an Angel of the Lord appeared in sleep to Joseph, saying: "Rise up, and take the boy and his mother, and flee into Egypt. And remain there until I tell you. For it will happen that Herod will seek the boy to destroy him."