Our allegiance is always to God and the Bible shows us God's will. That is why the Bible says in John 1:1,14, "In the beginning was the Word, and the Word was with God, and the Word was God. And the Word became flesh and dwelt among us, and we beheld His glory, the glory as of the only begotten of the Father, full of grace and truth." You cannot separate God from His Word. The two go hand in hand.