That question is brought up in luke 10 and other places" what must I do ........" And notice Jesus doesn't correct him .He answers his question. I believe he answered him correctly under the law . People don't know what to do with this because they want one 'good news 'one unified message to fit all narratives. Rightjy dividing is the answer.the man calling God "rabbi" asks Him what he can "do" to earn eternal life.
so he clearly thinks he's capable of achieving righteousness before God through works.
does this man believe Christ is who Christ is?