Matthew 19:16-22 (also Mark 10)
And, behold, one came and said unto him, Good Master, what good thing shall I do, that I may have eternal life?
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.
He saith unto him, Which?
Jesus said, Thou shalt do no murder, Thou shalt not commit adultery, Thou shalt not steal, Thou shalt not bear false witness, Honour thy father and thy mother: and, Thou shalt love thy neighbour as thyself.
The young man saith unto him, All these things have I kept from my youth up: what lack I yet?
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.
But when the young man heard that saying, he went away sorrowful: for he had great possessions.
This young man who had great possessions felt there was something still that he lacked.
Solomon who was denied nothing that he could possibly want, expressed the same thing in Ecclesiastes — that there was still something missing.