Why do you call Me good?In essence, Jesus is asking the ruler if he believed in His true identity as God.
Keep the commandments.If anyone could keep all the Law of Moses, they would enter into the kingdom, because they would be perfect. Only Jesus kept the whole Law (Matt. 5:17). The Law was not given to save us, but to point us to faith in Christ (Gal. 3:10-14, 19-25).