Again the Lord said to Moses, “Now that you are going back to Egypt, be sure to perform before the king all the miracles which I have given you the power to do. But I will make the king stubborn, and he will not let the people go.
“God has blinded their eyes and closed their minds, so that their eyes would not see, and their minds would not understand, and they would not turn to me, says God, for me to heal them.”
The Lord had made them determined to fight the Israelites, so that they would be condemned to total destruction and all be killed without mercy. This was what the Lord had commanded Moses.