"This day I have rolled away the reproach of Egypt from upon you" (Joshua 5:9). For Pharaoh had seen by his astrology, and he said to Israel, "See that evil is set before your faces." He said to them, "I see by my astrology one star rising toward you, and its name is Evil, and it is a sign of blood and slaughter." And when Israel sinned in the wilderness with the calf, and the Holy One, blessed be He, sought to kill them, Moses asked in his prayer, "Why should the Egyptians say, He brought them out with evil intent?" (Exodus 32:12). This is what we told you: "See that evil is set before your faces." "And the LORD relented from the evil which He had spoken" (Exodus 32:14), and He turned the blood into the blood of circumcision, with which Joshua circumcised them. This is the meaning of "This day I have rolled away the reproach of Egypt," for they had been saying, "We see blood upon you."
Pharaoh's Star Named Evil and the Blood Turned to Covenant
Yalkut Shimoni on Nach 15:7
היום גלותי את חרפת מצרים מעליכם (יהושע ה, ט), לפי שראה פרעה באיצטגנינות וא"ל לישראל ראו כי רעה נגד פניכם א"ל רואה אני באיצטגנינות שלי כוכב אחד עולה לקראתכם ושמו רעה והוא סימן דם והריגה, וכשחטאו ישראל במדבר בעגל ובקש הקב"ה להורגם בקש משה בתפלתו למה יאמרו מצרים ברעה הוציאם זהו שאמרנו לכם ראו כי רעה נגד פניכם, וינחם ה' על הרעה אשר דבר והפך את הדם לדם מילה שמל אותם יהושע, וז"ש היום גלותי את חרפת מצרים שהיו אומרים דם אנו רואים עליכם: