Indeed. And it was Hillel who said: ""Do not to
others what you would not have them do to you: that is the whole Torah, while the rest is the commentary thereof; go and learn it."
Jesus said the same thing about a century later.
Thanks! Isn't this phrase in one of the deuterocanonical books as well?