Shenei Luchot HaBerit
Though Pharaoh had intended the opposite, and even Moses had remonstrated with G–d (Exodus 5,22-23), he was taught that this was an occasion when in order to build anew, one must first tear down the old. The very addition of affliction resulted in accelerated redemption.