The Sefer HaChinuch explains that the mitzvah to destroy sorcerers is based on the foundation that Hashem created a perfect world. Everything in this world has a plan and a purpose, and everything is in exact balance. To maintain a perfect physical world, Hashem created a spiritual world to guide it. From the stars and planets, down to the trees and grass, behind every physical entity is a spiritual counterpart that is responsible for its existence. Chazal tell us, “No blade of grass grows without an angel guiding it” (Bereishis Rabbah 10:6).

Hashem promised Avraham that his children would be slaves in Mitzrayim, yet they would be redeemed and would leave with great wealth. And so, when it was time to leave Mitzrayim, Hashem told Moshe to tell the Jews to borrow the silver and gold vessels of their Egyptian neighbors.

The Ramban explains that one time in the course of history, Hashem demonstrated that He alone created, maintains, and orchestrates all of physicality. When taking Klal Yisrael out of Mitzrayim, He showed the world His might and His control over every facet of nature.

After months and months of rebellion, Pharaoh finally admitted that he was wrong. The Daas Z’keinim explains that the plague of hail moved Pharaoh more than any other. And it was because of one factor: Again and again, Moshe cautioned Pharaoh to take his livestock and his slaves inside, because the hail would kill anything living that was left outside. Since Pharaoh was repeatedly warned to save the living creatures, he was moved and recognized his error.

The Jews Become the Enemy of the State

Yosef, his brothers, and their entire generation had passed on. A new era was beginning in Mitzrayim, and with it came a new attitude. When the Jews had first entered the land, they were received as celebrated guests. After all, they were brothers of the great Yosef who had saved the nation. That sense of appreciation was gone. No longer were the Jews respected and revered; no longer were they welcome. They had become a thorn in the side of the Mitzrim.