"In every matter of wisdom and understanding about which the king questioned them, he found them ten times better than all the magicians and enchanters in his whole kingdom." NIV translation
The men were not just slightly better than the others throughout the kingdom; they were ten times better. Throughout the Bible, the number ten is associated with the earthly completion of divine order. We see in this, that, complete wisdom and understanding can only come from God. You can go and seek out all kinds of manmade wisdom but, in the end if you want to know about the things of God, it comes through the power of the Holy Spirit. On our own, we do not have the ability to understand the things of God but the Counselor knows the things of God and can guide us in His ways.
"And Daniel remained there until the first year of King Cyrus." NIV translation
We see that Daniel stayed in service to the king and, as we shall see, that is exactly where God wanted him to be.