The story
Possibly derived from a usage by Walter Bagehot in Lombard Street: "The cardinal maxim is, that any aid to a present bad bank is the surest mode of preventing the establishment of a future good bank."
Etymology from Wiktionary, CC BY-SA 4.0.