Yes it's incredible that Pompeii residents had piped in running water to their houses and fast food. Slaves were able to earn their freedom and own property. This was over 2000 years ago.
The eruption of Vesuvius was in 79 AD, so less than 2000 years ago, but if you'd like to know about a much earlier site that had these amenities (and more, like possible public street lighting), you should read about Mohenjo Daro in present-day Pakistan.