The Egyptians endeavored to save themselves from the sea by conjuring charms, for they were great magicians. Of the ten measures of magic allotted to the world, they had taken nine for themselves. And, indeed, they succeeded for the moment; they escaped out of the sea. But immediately the sea said to itself, "How can I allow the pledge entrusted to me by God to be taken from me?" And the water rushed after the Egyptians, and dragged back every man of them.
Among the Egyptians were the two arch-magicians Jannes and Jambres. They made wings for themselves, with which they flew up to heaven. They also said to Pharaoh: "If God Himself hath done this thing, we can effect naught. But if this work has been put into the hands of His angel, then we will shake his lieutenants into the sea." They proceeded at once to use their magic contrivances, whereby they dragged the angels down. These cried up to God: "Save us, O God, for the waters are come in unto our soul! Speak Thy word that will cause the magicians to drown in the mighty waters." And Gabriel cried to God, "By the greatness of Thy glory dash Thy adversaries to pieces." Hereupon God bade Michael go and execute judgement upon the two magicians. The archangel seized hold of Jannes and Jambres by the locks of their hair, and he shattered them against the surface of the water.