The phrase you partially quote is from the bible.
it's 1 Timothy 6:10 and a literal translation would be 'the root of all bad things is a fondness for silver'
while the word κακῶν is often translated as 'evil' alternative translations in this verse include 'bad' (Byington & Living English); 'vices' (Rotherham); and 'injurious things' (New World Translation).
As you attest, it is the love, the desire, the avariciously grasping, for money, wealth, which is the issue, not money itself. indeed, Ecclesiastes 7:12 calls money a protection, but not one to be trusted over wisdom or knowledge.
Hmm!! I really love this feedback.. I have not read that part of proverbs before. Actually true riches is not based on material things, money is protection but wisdom and knowledge is superior
Thanks for the beautiful comment