It is the LOVE of money that is the root of all evil...not just money itself.
(1 Timothy 6:10) For the love of money is a root of all sorts of injurious things, and by reaching out for this love some have been led astray from the faith and have stabbed themselves all over with many pains.
(2 Timothy 3:2) For men will be lovers of themselves, lovers of money, self-assuming, haughty, blasphemers, disobedient to parents, unthankful, disloyal,
Greed for money is the problem
(Ecclesiastes 7:12) For wisdom is for a protection [the same as] money is for a protection; but the advantage of knowledge is that wisdom itself preserves alive its owners.
Ordinary money is a protection.