And they say, 'If only we had listened or used our intellects we would not have been among the people of the Blaze. The list of ayats about this goes on and on. Without knowledge you will not fear Allah and will not understand, and hence are likely to end up in the Fire. Knowledge is gained through learning. Knowledge governs while riches are governed.
Riches diminish with spending but knowledge increases with it.
The people of knowledge are 'the heirs of the Prophets', as the Messenger of Allah said. This is because the one with knowledge can distinguish between the halal and the haram, and see the perils and machinations of Shaytan and thus avoid the traps he sets. But you must take care with knowledge. Knowledge can be a dangerous thing. Knowledge can be confused with information and knowledge can be misused.