This had a literal meaning in the days when householders got rid of their refuse by throwing it out into the street. A figurative meaning, suited to the present time, is that the welfare of the society as a whole depends on the individual behaviour of those that make it up.