Solomon was a man who really did have everything. Here is a description of Solomon:

2 Chronicles 1:7-12
That night God appeared to Solomon and said to him, "Ask for whatever you want me to give you." Solomon answered God, "You have shown great kindness to David my father and have made me king in his place. Now, LORD God, let your promise to my father David be confirmed, for you have made me king over a people who are as numerous as the dust of the earth. Give me wisdom and knowledge, that I may lead this people, for who is able to govern this great people of yours?" God said to Solomon, "Since this is your heart's desire and you have not asked for wealth, riches or honour, nor for the death of your enemies, and since you have not asked for a long life but for wisdom and knowledge to govern my people over whom I have made you king, therefore wisdom and knowledge will be given you. And I will also give you wealth, riches and honour, such as no king who was before you ever had and none after you will have."
1 Kings 10:23-27
King Solomon was greater in riches and wisdom than all the other kings of the earth. The whole world sought audience with Solomon to hear the wisdom God had put in his heart. Year after year, everyone who came brought a gift-articles of silver and gold, robes, weapons and spices, and horses and mules. Solomon accumulated chariots and horses; he had fourteen hundred chariots and twelve thousand horses, which he kept in the chariot cities and also with him in Jerusalem. The king made silver as common in Jerusalem as stones, and cedar as plentiful as sycamore-fig trees in the foothills.
1 Kings 4:30-34
God gave Solomon wisdom and very great insight, and a breadth of understanding as measureless as the sand on the seashore. Solomon's wisdom was greater than the wisdom of all the men of the East, and greater than all the wisdom of Egypt. He was wiser than any other man, including Ethan the Ezrahite-wiser than Heman, Calcol and Darda, the sons of Mahol. And his fame spread to all the surrounding nations. He spoke three thousand proverbs and his songs numbered a thousand and five. He described plant life, from the cedar of Lebanon to the hyssop that grows out of walls. He also taught about animals and birds, reptiles and fish. Men of all nations came to listen to Solomon's wisdom, sent by all the kings of the world, who had heard of his wisdom.

This is what Solomon concludes:

Now all has been heard; here is the conclusion of the matter: Fear God and keep his commandments, for this is the whole duty of man. For God will bring every deed into judgment, including every hidden thing, whether it is good or evil.

Ecclesiastes 12:13,14