Claude Frollo vs Javert. Who is the Best Villain?

Claude Frollo and Javert are 2 villains created by Victor Hugo, who believe what they do is good for the people and yet they lack what it truly means to be good, to which leads to their downfall. Out of the 2, which one has the best attentions yet is more sinister?