The Old Testament often sees nudity as a consequence of being poor or of being a social outcast. It is not seen as a result of breaking rules, and accepted. Later Orthodox Judaism sees nakedness as a bad thing.