Never attempt to teach a pig to sing; it wastes your time and annoys the pig.
Heinlein, Robert A. Time Enough for Love. G. P. Putnam's Sons, 1973, p. 257.
Sourced by: Quote.org sourced
Context: Robert F Kennedy was later was quoted with a similar notion. Voltaire preceded both by over a century comrades-the-revolt-by-the-five-kulak-585802. However, all three of these echo an old Russian proverb. See the linked quotes for additional context.
Robert Anson Heinlein was an American science fiction author, aeronautical engineer, and naval officer. Sometimes called the "dean of science fiction writers", he was among the first to emphasize scientific accuracy in his fiction, and was thus a pioneer of the subgenre of hard science fiction. His published works, both fiction and non-fiction, express admiration for competence and emphasize the value of critical thinking. His work continues to have an influence on the science-fiction genre, and on modern culture more generally.