1 Timothy 6:9-10 (King James Version)
9 But they that will be rich fall into temptation and a snare, and into many foolish and hurtful lusts, which drown men in destruction and perdition.
10 For the love of money is the root of all evil: which while some coveted after, they have erred from the faith, and pierced themselves through with many sorrows.
First a better translation of "root of all evil" would be "root of all kinds of evil".
Further in the bible the words love and hate are often used to mean in a relative way. Thus the passage:
"If any man come to me, and hate not his father, and mother...he cannot be my disciple." (Luke 14:26)
What it means is that one should not put even father, and mother above God. If your father or mother wants you do immoral things you should not do them but put God first. (note:Luke the writer wrote elsewhere to love your parents and he was not stupid.)
So the passage that talks about the love of money is a warning against putting money above God and or morality. E.g. doing immoral things to get money.