The legend of a man selling his soul to the devil ‘seems to have particular resonance at times of moral crisis’, writes Benjamin Ramm.