Judaism has long recognized that we need both private and public space. Man is both an individual and a member of a community. At times, the individual must conform to communal norms, but more often than not, it is the community that must respect the rights of the individual.
Masechet Shabbat deals primarily with the 39 forbidden activities on Shabbat--especially that of carrying. Yet, as is the norm for Talmudic discussion, one subject leads to another, so that we have a wide range of discussion.
"Rav Helbo said: The wine of Perugitha and the water of Diomsith cut off the Ten Tribes from Israel" (Shabbat 147b). As Rashi explains, Perugitha was the name of a country that produced great wine, and while he does not explicitly say so, Diomsith had wonderful bathhouses. Rashi goes on to explain that the ten tribes spent their time seeking pleasure, thereby neglecting Torah. This caused them, to use a modern term, "go off the derech", both figuratively and literally.
When one studies Talmud, it is easy to forget that Sages quoted on the same page may actually have lived hundreds of years and hundreds of miles apart. A question posed by a third-century scholar in Israel might be answered by a fifth-century scholar in Babylonia. As is to be expected, these two great centers of Torah study developed in slightly different ways; there was even healthy competition between the two.