Material plenty allows the leisure to contemplate one's moral and intellectual and spiritual poverty. So money, far from being the root of all evil, is often conducive, and sometimes necessary, for the uprooting of some evils.
Related: Radix Omnium Malorum. This is one of my best entries. It definitively refutes the widespread notion that money is the root of all evil.