Dan 1:17 As for these four young men, God gave them knowledge and skill in all literature and wisdom; and Daniel had understanding in all visions and dreams.
These four Jewish youths were prepared to suffer by keeping God's commandments for they feared God more than the king. So God fulfilled their desires of being righteous and also fulfilled His promise that they would be granted knowledge, understanding and wisdom, when they kept His words.
Psalm 111:10 The fear of the LORD is the beginning of wisdom; a good understanding have all those who do His commandments. His praise endures forever.
and Daniel had understanding in all visions and dreams
However, Daniel the leader of the four was given extra gifting for he was able to understand all visions and dreams. Brethren, walk out your faith in the word of God and just like Daniel, you may be found worthy of getting extra gifting or annointing, for faith without works is dead ., (Jam 2:20, 26)
2 King 19:10-12 "Thus you shall speak to Hezekiah king of Judah, saying: 'Do not let your God in whom you trust deceive you, saying, "Jerusalem shall not be given into the hand of the king of Assyria. 'Look! You have heard what the kings of Assyria have done to all lands by utterly destroying them; and shall you be delivered? Have the gods of the nations delivered those whom my fathers have destroyed, Gozan and Haran and Rezeph, and the people of Eden who were in Telassar?'
God empowered Daniel with the gifts of understanding visions and dreams so that these could convince King Nebuchadnezzar that Yahweh is the Almighty God, the Creator of heaven and earth for the God of Israel was considered inferior to the gods of the Babylonians, who were the conquerors.
Dan 2:9-11 "if you do not make known the dream to me, there is only one decree for you! For you have agreed to speak lying and corrupt words before me till the time has changed. Therefore tell me the dream, and I shall know that you can give me its interpretation." The Chaldeans answered the king, and said, "There is not a man on earth who can tell the king's matter; therefore no king, lord, or ruler has ever asked such things of any magician, astrologer, or Chaldean. It is a difficult thing that the king requests, and there is no other who can tell it to the king except the gods, whose dwelling is not with flesh."
Dan 1:19-20 Then the king interviewed them, and among them all none was found like Daniel, Hananiah, Mishael, and Azariah; therefore they served before the king. And in all matters of wisdom and understanding about which the king examined them, he found them ten times better than all the magicians and astrologers who were in all his realm.
With the Torah (Pentatueh or the first 5 books of Moses) hidden in their hearts, this was God's knowledge and wisdom guiding these youths to great understanding.
Note - we can now understand why the Jews are so brilliant. It is the word of God (the Law and the Prophets) guiding them to knowledge, wisdom, etc. leading them to many types of discovery and great understanding.
Brethren, if you want God's wisdom, knowledge and understanding for your children, get them to abide in His words (our Lord's Jesus teachings and the epistles), then they will be like Daniel and his friends and also Timothy in the NT.
1 Tim 4:12-13 Let no one despise your youth, but be an example to the believers in word, in conduct, in love, in spirit, in faith, in purity. Till I come, give attention to reading, to exhortation, to doctrine.