Ashpenaz, however, was afraid of the king, so he said to Daniel, “The king has decided what you are to eat and drink, and if you don't look as fit as the other young men, he may kill me.”
It is dangerous to be concerned with what others think of you, but if you trust the Lord, you are safe.
So Daniel went to the guard whom Ashpenaz had placed in charge of him and his three friends.
and God made Ashpenaz sympathetic to Daniel.