Moths’ deadly spirals into artificial lights are caused by evolutionary navigation strategies gone wrong.