The story
Quote Investigator offers a convincing analysis of this phrase's origins: it is apparent that Dorothy Parker's use of it had earlier influences or antecedents, but her use of it led others to further popularize it.
Etymology from Wiktionary, CC BY-SA 4.0.