Sayyiduna Abu Kabshah al-Anmari (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) set out before us a parable of this world, and gave the example of four men among us: "A person to whom Allah gave knowledge and also gave wealth, so he spends from his wealth in accordance with his knowledge; and a person to whom Allah gave knowledge but did not give wealth, so he says: 'If Allah were to give me the like of what He gave so-and-so, I would do with it just as he does,' so the two of them are equal in reward; and a person who was given wealth but has no knowledge, so he withholds it from its due and spends it in falsehood; and a person to whom Allah gave neither knowledge nor wealth, so he says: 'If Allah were to give me what so-and-so was given, I too would do with it just as so-and-so does,' so the two of them are equal in the burden (of sin)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الزكاة / 7828