Proverbs 15:6 says,
In the house of the righteous there is much treasure, but in the revenue of the wicked is trouble.
Notice that this verse does not just declare there is treasure in the house of the righteous. It says there is much treasure in the house of the righteous.
You can also find treasure in the house of the wicked, but Solomon says it is laced with trouble. The income of the wicked has a bunch of trouble with it.
But the same is not true for those who are right with God. When the treasure is found in their house, it does not have the same trouble that it does when it is found in the house of the wicked.
If you read on, the Lord shares two things that must accompany this treasure if it is going to be enjoyed. First, you must have a right relationship with God. Proverbs 15:16 says, Better is a little with the fear of the LORD, than great treasure with trouble.
It is better to have almost nothing and have a right relationship with God than to have everything money can buy and not have a relationship with God. We must get our priorities right.
The second thing we need to have is a right relationship with people, lest the treasure become hollow and become a curse. Proverbs 15:17 says, Better is a dinner of herbs where love is, than a fatted calf with hatred.
Some people have more prosperity than they know what to do with, but all of their relationships fail. They do not have love. Consequently, there is a vacuum they can never fill with things, that they can never fill by accumulating more possessions.
Pursue your relationship with God, and a right relationship with people. Then you will enjoy the treasure God gives you!