Josephus wrote about a dream Pharaoh supposedly had, which explains why he wanted the Hebrew infants killed. Pharaoh slept, and saw in his sleep a balance, and behold the whole land of Egypt stood in one scale, and a lamb in the other; the scale in which the lamb was, outweighed that in which was the land of Egypt. Immediately he sent and called all the chief magicians and told them his dream. And Janes and Jambres (see 2 Tim. 3:8) who were chiefs of the magicians, opened their mouths and said to Pharaoh, “A child is shortly to be born in the congregation of the Israelites whose hand shall destroy the whole land of Egypt.” Therefore, Pharaoh spake to the midwives . . .
“One of those sacred Scribes (said to be Jannes or Jambres in the Targum of Jonathan) who are very sagacious in foretelling future events truly, told the king, that about this time there would be a child born to the Israelites, who if he were reared, would bring Egyptian domain low, and would raise the Israelites: that he would excel all men in virtue, and obtain a glory that would be remembered through the ages . . . which thing was so feared by the king, that according to this man’s opinion, he commanded that they should cast every male child which was born to the Israelites, into the river and destroy it . . . that if any parents should disobey him and venture to save their male children alive, they and their families should be destroyed.” (Josephus, Antiquities, Book 2, chapter 9)