He got that from hearing about the book of Revelation.
Actually, he was practicing the evil kaballah, demonic mystism. So, he was getting the dumb devils point of view of what would unfold.