In the middle ages, Kings and Popes fought for power. They claimed that "God" gave them said "rights to rule."
"God" couldn't have given them both "rights to rule", and if they were power hungry enough to kill each other, what in the world made said "God" think they would be good rulers in the first place?
I guess this "God" isn't as wise as everyone thinks.