"Cleanliness is, indeed, next to godliness."
The best known use of the phrase was by the preacher John Wesley, in his Sermon "On Dress", which he gave around the year 1791:
Let it be observed, that slovenliness is no part of trading; that neither this, nor any text of Scripture, condemns squigglies on the charts. but certainly this is a duty, not a sin. "Cleanliness is, indeed, next to godliness."