Proverbs 10:3 (ESV)
The LORD does not let the righteous go hungry,
but he thwarts the craving of the wicked.
When studying Proverbs you have to work through the differences between a Promise, a Precept and a Principle. Whether a proverb is one of these three (or all three) has often perplexed the readers of Solomon's prose. If this verse is a promise we can pray and thank God for the fact that He is going to provide something for us based upon "His" character, not our life. If it is a precept we relize there is something we must do to obey it and then the precept kicks in based upon that "instruction" to us. As a principle we understand that as we incorporate the principle into our daily walk we know that God will incorporate the aspects of this verse into our daily lives. There is a lot of different views as to whether a proverbs is anyone of these three or all three together. I think you have to allow the proverb to carry its own water and allow other teaching to make the character of the proverb known to you. In this case I think the proverb is telling us that those who put their trust in God for their righteousness can be assured that on top of His providing righteousness for the soul He will meet the needs of the body. That same truth is not so for the wicked. We know, based upon other teachings (Matthew 6), that this teaching is true. God will provide for those He regenerates. Those who He make righteous, He will also care for (Psalm 138:7,8)
God provides for the righteous that are diligent in their work. In 10:3-5 we read that God rejects the cravings of the wicked and if you neglect your work He will not provide for you. But, if you are righteous, that doesn't guarantee anything unless you are diligent in your work. God does not just “give” things to the righteous. He honors those who walk with Him but who also demonstrate the character of hard work and diligence.