Copy and pasting passages verbatim of what Christ said then repeating it exactly as shown isn't making a claim. It's reporting.
Luke 18:18,20,22
18 Then a certain ruler asked Him, “Good Teacher, what must I do to inherit eternal life?”
20 You know the commandments: ’...
22 You still lack one thing: Sell everything you own and give to the poor, and you will have treasure in heaven. Then come, follow Me.”
Matthew 19:16-17, 21
16 And, behold, one came and said unto him, Good Master, what good thing shall I do, that I may have eternal life?
17 and he said unto him, Why callest thou me good? there is none good but one, that is, God: but if thou wilt enter into life, keep the commandments.
21 Jesus said unto him, If thou wilt be perfect, go and sell that thou hast, and give to the poor, and thou shalt have treasure in heaven: and come and follow me.
Mark 10:17-19, 21
17As Jesus started on His way, a man ran up and knelt before Him. “Good Teacher,” he asked, “what must I do to inherit eternal life?”
18“Why do you call Me good?” Jesus replied. “No one is good except God alone.
19 You know the commandments...
21 Jesus looked at him, loved him, and said to him, “There is one thing you lack: Go, sell everything you own and give to the poor, and you will have treasure in heaven. Then come, follow Me
I've added no words of my own.
Simple question: What was Christ's answers to the ruler's question about how to attain eternal life?