The ten plagues on Egypt were, in a sense, a backing out of the ten statements of creation in Genesis. They are then followed by ten statements of recreation at Sinai.