Yes, if you cry out for discernment, and lift up your voice for understanding, if you seek her as silver, and search for her as for hidden treasures; then you will understand the fear of the Lord, and find the knowledge of God.
One of the better-known treasure hunts of modern times is the quest to find the rumored wealth known as the "Beale treasure." The hunt began when an eccentric man who left the East for the gold and silver mines of the West returned home, supposedly hid a vast amount of wealth and then disappeared forever. All he left behind were several messages written in a mysterious code. When deciphered, one of those messages told of the treasure and its approximate location. The other documents, which no one has been able to interpret, supposedly pinpoint the site. Since the Beale documents first came to light, thousands of man-hours and hundreds of thousands of dollars have been spent attempting to break the codes and find the legendary treasure.
Solomon noted, however, that if we put the same amount of time and effort into a relationship with God as we do into searching for earthly treasure, we will find a fortune that is far greater. The reward for our efforts will not be silver or gold but an intimacy with God that is far more meaningful. Speaking as one of the richest men who ever lived, Solomon knew that living in the presence of an awesome God is the greatest treasure that can be found.
There is nothing wrong with material treasures. Abraham, Job, David and Solomon were all blessed with great wealth. But the focus of their lives was not on gaining possessions; it was on knowing God. Today, Christians face the same challenge. In a materialistic world that urges us to gather and hoard an abundance of things, what we really need is a closer relationship with God. That's the real treasure.
Make sure that you aren't cheated by earthly treasure. Put as much effort into drawing closer to God as you do in collecting possessions. Let your life be filled with His awesomeness, and you'll never want for wealth.
Seeking God always yields treasure.