Being ethical is not the same as doing "whatever society accepts." In any society, most people accept standards that are, in fact, ethical. But standards of behavior in society can deviate from what is ethical. An entire society can become ethically corrupt. Discrimination is a good example of a morally corrupt society.