Eat and rest are also things that do well to be moderated.
You mention chains but modesty and purity is a form of freedom from basal desire and unpleasantness. And many times in society we make socially responsible decisions. For example, it is pretty much understandable that drinking culture in the US with driving has been dangerous, thus DUI laws.
Similarly, encouraging modesty in society and cultivating shyness protects against many harms to society, like increased relationships out of wedlock, greed (modesty is also about humbleness and avoiding looking at what others have), and objectification/commercialization of the human body.