The world is corrupt, but God is good, and non-Christians often experience His kindness (though they may attribute it to luck or hard work. Yet you may feel unbelievers don’t deserve benefits of prosperity or good health, particularly if we’ve been faithful but find ourselves struggling. However, no matter how great our service to God, we’re no more deserving than anyone else.
At times the Lord refrain from pouring out blessing because He knows that too much of a good thing can have a negative effect. Or He may be selective about what He bestows so we won’t be tempted to worship the gift instead of the Giver.
Every good thing comes from the Lord (James 1:17), and we must seek Him to better understand His plans. Our part is to walk according to His will and follow His ways.