From what cause the rite of baptism first proceeded is not expressed formally in the scripture, but it may be probably thought to be an imitation of the law of Moses concerning leprosy, wherein the leprous man was commanded to be kept out of the camp of Israel for a certain time, after which time being judged by the priest to be clean, he was admitted into the camp after a solemn washing. And this may therefore be a type of the washing in baptism, wherein such men as are cleansed of the leprosy of Sin by Faith, are received into the church with the solemnity of baptism.
Thomas Hobbes (2008). “Leviathan”, p.357, Simon and Schuster