In Luke 18:18-30 NIV & GNB, Jesus taught only God is good vs 19. He also highlighted how hard it is for a rich man to enter the kingdom of God vs 24.
Luke 18:18-30
[18]A Jewish leader asked Jesus, “Good Teacher, what must I do to receive eternal life?”
[19]“Why do you call me good?” Jesus asked him. “No one is good except God alone.
[20]You know the commandments: ‘Do not commit adultery; do not commit murder; do not steal; do not accuse anyone falsely; respect your father and your mother.’ ”
[21]The man replied, “Ever since I was young, I have obeyed all these commandments.”
[22]When Jesus heard this, he said to him, “There is still one more thing you need to do. Sell all you have and give the money to the poor, and you will have riches in heaven; then come and follow me.”
[23]But when the man heard this, he became very sad, because he was very rich.
[24]Jesus saw that he was sad and said, “How hard it is for rich people to enter the Kingdom of God!
[25]It is much harder for a rich person to enter the Kingdom of God than for a camel to go through the eye of a needle.”
[26]The people who heard him asked, “Who, then, can be saved?”
[27]Jesus answered, “What is humanly impossible is possible for God.”
[28]Then Peter said, “Look! We have left our homes to follow you.”
[29]“Yes,” Jesus said to them, “and I assure you that anyone who leaves home or wife or brothers or parents or children for the sake of the Kingdom of God
[30]will receive much more in this present age and eternal life in the age to come.”