Supposedly. Allegedly.
The quote haunted Sheridan during his life. He denies making the statement, and there is no real documented proof that he did. But history has married him to that statement.