The Golden Rule, also known as ethic of reciprocity, can be found in all major religious texts: Treat others as you would like to be treated. In other words: Do not to others what you do not want them to do to you.
If you wish to learn more about The Golden Rule, you can look into the following website.