“Daniel then spoke to the warden whom the overseer of the court officials had appointed over Daniel, Hananiah, Mishael, and Azariah: ‘Please test your servants for ten days by providing us with some vegetables to eat and water to drink.'”
Even in captivity Daniel sought to obey God’s law. The king’s overseer refused his request not to defile himself with the royal food. So he used his wisdom to propose a test to the warden.
Difficult situations do not keep us from the requirement of obedience. Those who seek to obey God at every moment will find his favor.