Many were great.  Some were misogynists, adulterers or idiots, especially the Popes who ruled Rome and the Papal States for its profitability.  Gregory slandered Mary Magdalene, thinking because she had seven demons exorcised from her (which is a poetic way of saying that she sought the Lord's help in overcoming the 7 deadly sins) that he called her a whore.  She was not.  Pope's can err and you know it - although those errors can be as pernicious.  Of the Popes of the last 500 years, I would put Leo way above to both Pius IX and Pius X and certainly above Pope Alexander de Medici.