Morality comes from the Golden Rule.
Once there was a gentile who came before
Shammai, and said to him: "Convert me on the condition that you teach me the whole Torah while I stand on one foot. Shammai pushed him aside with the measuring stick he was holding. The same fellow came before Hillel, and Hillel converted him, saying: That which is despicable to you, do not do to your fellow, this is the whole
Torah, and the rest is commentary, go and learn it."
Babylonian Talmud, Shabbat 31a
His disciples questioned him and said, "How should we fast and how should we pray, and how should we do charitable deeds and what food law should we observe?"
Jesus said, "Do not lie and that which you hate, do not do because everything is evident before the truth. For there is nothing hidden that will not be made clear."
P.Oxy654/Thomas 6