The author of Exodus was either a fool, or he had a purpose in writing the way he did.