I think you’re (or, whoever you’re referencing) is conflating conceptual similarities with actual equivalence. Even if Jesus was building on Jewish tradition, The Hebrew Bible is full of imprecatory psalms calling down curses on enemies. Even the most expansive interpretations of “love your neighbor” in Jewish law didn’t extend to active enemies.
See my other response on eastern thought. “Babylonian Councils of Wisdom” is vague
He's referring to: Do not return evil to the man who disputes with you;
Requite with kindness your evil-doer,
Maintain justice to your enemy,
Smile to your adversary. (Akkadian, before 1100 BC)
I suggest a look at the Esoterica channel on Youtube for a perspective on Jesus as a historical figure in the context of Judaism at the time[0]
[0]https://www.youtube.com/watch?v=82vxOBbYSzk