“Murder your darlings.”
The memorable command advises writers to delete showy passages they love when those passages serve vanity or ornament more than the work as a whole.
Source details
On the Art of Writing, Lecture XII, “On Style,” Project Gutenberg #17470; the phrase concludes Quiller-Couch’s warning against purchased or extraneous ornament.