“Brian Cronin, in "Did 'Bull Durham' misquote Walt Whitman on baseball?", Los Angeles Times (28 March 2012), suggests that this is (loosely) paraphrased from a remark of September 1888 reported in Horace L. Traubel, With Walt Whitman in Camden, Vol. 2:”
Source: Wikiquote