National governments of today fall far short of God's righteousness. There are times that God will allow certain men to be rulers for His purpose. Mainly, the reason is to be a lesson to show the proper way to govern people, or sometimes as a punishment to prompt them into correction. Also, God uses certain men in order to fulfill His prophecies.