The iconic hit was written out of desperation.