If this person spends 400 million in the way of Allah, and another poor person who has 4 dollars spends 4 dollars in the way of Allah, both of them will have the same reward.