There’s nothing new about believing the world is ending – as Tom Phillips’s new book shows, every generation has had someone who thinks the apocalypse is imminent.