King Darius had issued an edict, prohibiting any prayer other then to him. But Daniel continued to pray to his God in obedience to Him rather than man. That’s because in the beginning, God instituted civil government for the good of all people,(Romans 13:1-5) and throughout the Scriptures He instructs His people to be in submission to the powers of government. (Titus 3:1 & I Peter 2:13-14) However, God has never granted any government the right to compel their people to do things which are contrary to His Laws. (Acts 5:29) But the real wisdom here lies in knowing what’s God’s laws, and what’s merely man’s selfish desires.