The Great Intelligence is an old enemy of the Doctor’s, so it’s not like he was just introduced this season. He was featured in Classic Who. Also, his hatred for the Doctor doesn’t only stem from his encounters with the Doctor. He is literally a database of information, knowing all of the things the Doctor has done. This has made his hatred grow. It was an imperfect series, but I thought the finale was brilliant.