Yes. The Pope died before he could affect the Church. As you can see, the Church is still here.The gates of hell will not prevail: What happens if a Pope becomes an unrepented sinner or becomes a heretic?
Has that ever happened in history and if so what about what Jesus said about His Church?