I used to think this as well, until recently when I discovered that the King James version does read as "the root of all evil". It is one of only a few translations that read this way. Most other translations, including the NIV add the words "kinds of" or "sorts of". The idea is that coveting something you don't have is the real evil here, not money specifically.
https://www.jetpunk.com/user-quizzes/136522/shakespeare-or-the-bible