Daniel's greatest test in life was not the lion's den when he was old, but the dinner table when he was young. Daniel recognized who was deserving of his allegiance and obedience and he purposed (pre-decided) in his heart he would not defile himself.