Yes, Mark Twain said “There are three kinds of lies: lies, damn lies, and statistics” in his autobiography.
But he didn’t invent the phrase, he was simply borrowing it.
The man responsible for the witticism (or truism, as the case may be) is Benjamin Disraeli, British author and politician.
To his credit, Twain rightly attributes Disraeli in his book.
To the discredit of authors since, they’ve disregarded his attribution and credited Twain himself.