Compare and contrast:
Do unto others as you would have them do unto you.
Do not do unto others what you would not have them do unto you.
For numerous other formulations go here.
The first one is Christian. It is presumably some translation of Luke 6:31 that I remember. The second one is everyone else, including the basis of Anglo-American Tort law.