It's not even a moral thing.  Keeping in shape with clean cloths and a well cared for body is good for anyone.  Even from a purely selfish and pragmatic standpoint.  Being fat and slovenly shows an internal lack of character that leads to an objectively worse life.