Being ethical is also not the same as following the law. the law often incorporates ethical standards to which most citizens subscribe. But laws, like feelings, can deviate from what is ethical. Our own pre-civil war slavery laws and the old apartheid laws of present-day south Africa are grotesquely obvious examples of laws that deviate from what is ethical.
Finally, being ethical is not the same as doing”whateversociety 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. Nazi Germany is a good example of a morally corrupt society
Moreover, if being ethical were doing” whatever society accepts,” then to find out what is ethical, one would have to find out what society accepts. To decide what l should think about abortion, for example, l would have to take a survey of American society and then conform my beliefs to whatever society accepts. But no one ever tries to decide an ethical issue by doing a survey. Further, the lack of social consensus on many issues makes it impossible to equate ethics with whatever society accepts. Some people accept abortion but many others do not. Lf being ethical were doing whatever society accepts, one would have to find an agreement on issues which does not, in fact, exist.