just believe the gospel, yes -- which is the first thing Jesus responds with, 'no one is good but God alone'
but this seems to sail right over the man's head.
so if you reject the gospel, what hope do you have? the law. the man says he keeps it, and Christ tells him he still lacks something.
and gives him a command outside the law, requiring more works from him than the law requires.