The biblical view is that God holds his appointed authorities to account for their actions. A classic example is in Isaiah 10, where God first appoints the Assyrians to punish his people and then punishes the Assyrians themselves for the arrogant spirit with which they carried out the task.