Three young Jewish men were placed into a fiery pit because they refused to worship a golden image of the king. The men were not persuaded to recant their faith because of the fire. They said "If this be so, our God whom we serve is about to deliver us from the burning fiery furnace, and he will deliver us out of your hand, O king. But if not, be it known to you, O king, that we will not serve your gods or worship the golden image you have set up. (Daniel 3:17-18)
Their belief in and understanding of God's sovereignty allowed them the courage to resist denying God to save themselves. They believed God had the power to save them from the furnace if it pleased him to do so. Their submission to God's sovereignty also gave them the courage to die in faith if it was his will. Either way, they would faithfully save the sovereign God.