Is connectedness next to godliness?

There’s an old saying that cleanliness is next to godliness. As a child I was never quite sure what it meant but I always presumed that if one kept clean they would look better in the eyes of God. Today the word ‘cleanliness’ could be replaced with ‘connectedness’...