This plot element was reportedly inspired by Josephus’ account of an Egyptian scribe who predicted the birth and future success of Moses (Antiquities of the Jews 2.205). However, Josephus does not mention a star.