There are many factors, I would think. Two examples would be their awareness of the corruption, and the heart of why they give. I don't know the factors, but God does. He is righteous, just, and omniscient. He will judge with perfect righteousness and justice. If they deserve a reward, they will...