The story
A misquotation of 1 Timothy 6:10 in the King James Bible, which actually reads "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."
Etymology from Wiktionary, CC BY-SA 4.0.