Notice the discussion Jesus has with this man. He asks a couple of pointed questions in verses 18-19. The man in verse 20 claims he has kept these.
Now in verse 20 Jesus wants to push him further and see if his claims are true by asking him to demonstrate that he really loves his neighbor as himself by giving all his possessions to his fellow man i.e. the poor and to put God first in his life by following Christ
In verse 22 the young man fails by going away greived.
The man never claimed to love his neighbor as himself. Jesus is pushing him further. Jesus is going beyond the 10 commandments. If you think otherwise, please show me:
Ex 20:4-17
4 "You shall not make for yourself a graven image, or any likeness of anything that is in heaven above, or that is in the earth beneath, or that is in the water under the earth; 5 you shall not bow down to them or serve them; for I the LORD your God am a jealous God, visiting the iniquity of the fathers upon the children to the third and the fourth generation of those who hate me, 6 but showing steadfast love to thousands of those who love me and keep my commandments.
7 "You shall not take the name of the LORD your God in vain; for the LORD will not hold him guiltless who takes his name in vain.
8 "Remember the sabbath day, to keep it holy. 9 Six days you shall labor, and do all your work; 10 but the seventh day is a sabbath to the LORD your God; in it you shall not do any work, you, or your son, or your daughter, your manservant, or your maidservant, or your cattle, or the sojourner who is within your gates; 11 for in six days the LORD made heaven and earth, the sea, and all that is in them, and rested the seventh day; therefore the LORD blessed the sabbath day and hallowed it.
12 "Honor your father and your mother, that your days may be long in the land which the LORD your God gives you.
13 "You shall not kill.
14 "You shall not commit adultery.
15 "You shall not steal.
16 "You shall not bear false witness against your neighbor.
17 “You shall not covet your neighbor’s house; you shall not covet your neighbor’s wife, or his manservant, or his maidservant, or his ox, or his ***, or anything that is your neighbor’s.”
Where does it say one should love one’s neighbor as oneself?
The man followed the commandments from his youth. Jesus did not dispute that. Jesus wanted to push him beyond the commandments.
In verse 20 he claims to have kept the Law but after Jesus challenges him to apply that law to his life by giving up his possessions in verse 21 we see that he was not capable of loving his neighbor as himself as we see his response in verse 22. By doing this Jesus helped him to see that he had not nor was capable of keeping the Law.
I agree that Jesus was challening him, but the man was not responsible for what had not been revealed. There is nothing in the decalogue about loving one’s neighbor as oneself. He kept the commandments as he was taught them.
The man did keep the law, but Jesus was trying to move him into the law of love, and he would not go.
Notice the response of the man in verse 22. He went away greived. Notice also in verses 23-24 that Jesus does not commend the man but warns how difficult it is for a rich man to enter the kingdom. This clearly shows us the dangers of riches that causes us to trust in them instead of God.
Riches can be dangerous, but one must be mindful that the Jews in Jesus’ day believed that prosperity was from God,and that a man with many possessions was especially favored by God. That is why the apostles were so surprised. They believed that the rich, being highly favored of God, would enter the Kingdom first.