Matthew 19:16–30 describes Jesus’ conversation with a wealthy young man who asks how to attain eternal life. Jesus begins by establishing a standard of goodness, suggesting the man keep all the commandments. When the man says he has done this, Jesus suggests he give up his wealth to follow Him. The man’s sad reaction proves he’s unwilling to make God the real priority of his life. Using this as an example, Jesus warns that wealth can make it difficult for someone to accept salvation.
For a more detailed explanation select the link below.
“Matthew 19:17” Bibleref.com
What does Matthew 19:17 mean? | BibleRef.com
17 He said to him, “Why do you call me good?[a] No one is good but one, that is, God. But if you want to enter into life, keep the commandments.”