Matthew 7:12

12 So in everything, do to others what you would have them do to you, for this sums up the Law and the Prophets.

Read Matthew 7:12 Using Other Translations

Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets.
"So whatever you wish that others would do to you, do also to them, for this is the Law and the Prophets.
“Do to others whatever you would like them to do to you. This is the essence of all that is taught in the law and the prophets.