The "Golden Rule" has been attributed to Jesus of Nazareth:
"Therefore all things whatsoever ye would that men should do to you, do ye even so to them" (Matthew 7:12, see also Luke 6:31).
The common English phrasing is:
"Do unto others as you would have them do unto you".