[Luke 18:18-20 NLT] (18) Once a religious leader asked Jesus this question: "Good Teacher, what should I do to inherit eternal life?" (19) "Why do you call me good?" Jesus asked him. "Only God is truly good. (20) But to answer your question, you know the commandments: 'You must not commit adultery. You must not murder. You must not steal. You must not testify falsely. Honor your father and mother.'..."
I notice that when Moses was born, his mother saw that he was good (TOV):
JPS Ex 2:2 The woman conceived and bore a son, and [when] she saw him that he was good, she hid him for three months.
It seems that to call Jesus "good teacher" could be taken to put him on par, if only in esteem (?), with Moses.
Rashi comments on the passage in Exodus:
that he was good: When he was born, the entire house was filled with light. [From Sotah 12a, Exod. Rabbah 1:20]
Yet rather than being flattered, Jesus shakes off the compliment and simultaneously makes clear that Moses was a sinner and simply to know the law does not make one righteous.
Is Jesus alluding to Moses and disabusing this ruler of any idealization going on in his mind about him and the Torah's ability to make one righteous?