When Israel came out of Egypt, Samael rose to accuse them, and thus he
spoke: "Lord of the Universe! these have till now worshiped idols, and
art Thou going to divide the sea for such as they?" What did the Holy
One--blessed be He!--then do? Job, one of Pharaoh's high counselors, of
whom it is written (Job i. 1), "That man was perfect and upright," He
took and delivered to Samael, saying, as He did so, "Behold, he is in
thy hand; do with him as thou pleasest." God thought to divert his evil
designs by keeping him thus occupied with Job, that Israel meanwhile
might cross the sea without any hindrance, after which He would return
and rescue Job from his tender mercies. God then said to Moses, "Behold
I have delivered Job to Satan; make haste. Speak unto the children of
Israel that they go forward" (Exod. xiv. 15).
THE MIDRASHIM, _Midrash Rabbah Shemoth_, chap. 21.