Pseudo Jonathan Exodus 1:15
15 And Pharaoh said that while he slept, he saw in his dream that all the land of Egypt was placed on one balance of a weighing scale, and a lamb, the young of a ewe, on the other balance of the weighing scale; and the balance of the weighing scale on which the lamb was placed weighed down. Immediately he sent and summoned all the magicians of Egypt and told them his dream. Immediately Jannes and Jambres, the chief magicians, opened their mouths and said to Pharaoh: 'A son is to be born in the assembly of Israel, through whom all the land of Egypt is destined to be destroyed.'
Menachot 85a
Babylonian Talmud§ The mishna states: And all meal offerings come only from the optimal produce. One of the places the mishna mentions as having good-quality produce is Aforayim. The superior quality of its produce was so well known that Aforayim was used as an example in colloquial aphorisms. In Moses and Aaron’s first meeting with Pharaoh, Aaron cast his staff to the ground, whereupon it turned into a serpent. Pharaoh’s necromancers then duplicated the feat using their incantations, only to then be confounded when Aaron’s staff swallowed up all of theirs (see Exodus 7:10–12). The Gemara relates the conversation that took place: Pharaoh’s two leading necromancers, Yoḥana and Mamre, said to Moses: Are you are bringing straw to Afarayim? Performing necromancy in Egypt, the world leader in sorcery, is like bringing straw to Afarayim, which is rich in the finest grains. Moses said to them: It is as people say: To a city rich in herbs, take herbs. If you want to guarantee that people will appreciate your merchandise, bring it to a place where they are familiar with it.
Notes and References
"... For 'Prince of Lights' vs. 'Angel of Darkness,' see 1QS 3.20—21 (and the note above to 2.3). For the Angel of Darkness as equivalent to Belial, see Melchizedek (11013). ... For the magicians Jannes and Jambres as Moses' opponents, see also b. Menachot 85a, etc.; A. Pietersma and R. T. Lutz, in OTP, vol. 2, pp. 427-442 ..."
Charlesworth, James H. The Dead Sea Scrolls: Hebrew, Aramaic and Greek Texts with English Translations (p. 21) Westminster John Knox Press, 1995