There were a few bad popes in the Middle Ages and the Renaissance, like Alexander VI, but I think Pope Francis has outdone all of them. None of the earlier bad popes spouted heresy or encouraged homosexuality.
Well, We did have Reagan, Thatcher and John Paul II all at the same time, so there was bound to be a counter balance at some point.. looks like we got it.
We're living in the end times and the stage is being set for Jesus' return.