The "Golden Rule '' was given by Jesus of Nazareth (Matthew 7: 12 NCV, see also Luke 6: 31). The common English phrasing is "Do unto others as you would have them do unto you ''. A similar form of the phrase appeared in a Catholic catechism around 1567 (certainly in the reprint of 1583). The Golden Rule is stated positively numerous times in the Hebrew Pentateuch as well as the Prophets and Writings. Leviticus 19: 18 ("Forget about the wrong things people do to you, and do not try to get even. Love your neighbor as you love yourself. ''; see also Great Commandment) and Leviticus 19: 34 ("But treat them just as you treat your own citizens. Love foreigners as you love yourselves, because you were foreigners one time in Egypt. I am the Lord your God. '').
where does it say in the bible do unto others as you would have them do unto you
Matthew 7: 12 NCV Luke 6: 31