The story
From white + whale. The figurative senses refer to the novel Moby-Dick (1851) by the American writer Herman Melville (1819–1891), in which Captain Ahab relentlessly pursues a rare albino sperm whale.
Etymology from Wiktionary, CC BY-SA 4.0.