Sweating works by phase change. Water going from liquid to gas takes lot of energy. Thus removing it from body. On other hand if you then collect that steam and make it liquid again well you have to dump that energy back to the body. Or conduct or radiate it away... But those are inefficient thus we sweat.