This is the corollary to the greatest good for the greatest number.
The problem of course is that
- the few who suffer often fight back
- those who suffer rise in number
The law of constant misery seems to hold true. Even if everyone had all their basic needs satisfied (including sex), there will always be slight differences in well being, which will be transferred between members of a society into a group of victims.