YHWH does not let the righteous go hungry, but he thwarts the craving of the wicked.
Proverbs 10:3

This isn't literally about food. The craving of the wicked is to declare themselves righteous by virtue of their own supreme authority, while the craving of the righteous is wisdom, more righteousness, understanding, etc. Consider Matthew 5:6...

Blessed are those who hunger and thirst for righteousness, for they shall be satisfied.