19 And who knoweth whether he shall be a wise man or a fool? yet shall he have rule over all my labour wherein I have laboured, and wherein I have shewed myself wise under the sun. This is also vanity.
Solomon fails to realize one serious point here and it is the same area where Nebuchadnezzer fell; it was not his great kingdom, which he had wrought by his majesty (Daniel 4:30)! He would have nothing at all if God had not given him his giftings. There is an unsettling pride here, well did Job say “the Lord gave and the Lord taketh away, blessed be the name of the Lord” (Job 1:21). What a horrible tragedy it was for Solomon to be consumed by his kingdom and yet pay very little attention to the commandments and issues such as righteousness and godliness. If one really desires a legacy worth having then they should embrace issues that deal with one's own character and God will give them a sure house !
20 Therefore I went about to cause my heart to despair of all the labour which I took under the sun.
What a horrible thing for Solomon to do, he was so vexed over who would take care of his fortunes that he fell into depression. Riches do carry with them many hurtful cares. If one does not have the right perspective then riches can be bondage and steal away righteousness peace and joy. There is a secret to wealth that actually builds one up, it works weather you apply it naturally or spiritually and it is this: use your wealth to build others up! Strengthen others by your wealth and your legacy will be all it needs to be.