Wealth is a compensation for cognition