My Grandparents always taught me that "Turnabout was fair play". That is to say, if I did anything mean to someone, I could expect that same type of treatment to be done to me.
It sort of follows the old biblical statement, "Do unto others as you would have them do unto you".