1 Timothy 6:10: For the love of money is a root of all sorts of evil, and some by longing for it have wandered away from the faith and pierced themselves with many griefs.
It’s the love of money that is a root of evil. Money can be used for good purposes as well as bad purposes so it is the intent of a person that makes the use of money turn out to be bad or good.
That's one way to look at it, another is cut the root in order to eliminate an evil. Governments also desire/love money. Its "root" sucks the lifeblood from the governed to ensure its own existence, growth and to enrich its supporters. The "beast" requires pruning from time to time.
Matt. 6:24 ...You cannot serve both God and money.