How so?
Satan raises the question of whether there is such a thing as disinterested righteousness: if God rewards righteousness with prosperity, will men not act righteously from selfish motives? He asks God to test this by removing the prosperity of Job, the most righteous of all God's servants.
I suggest you read it, it's a fairly short book and directly addresses this issue.