Daniel 1:17

17 To these four young men God gave knowledge and understanding of all kinds of literature and learning. And Daniel could understand visions and dreams of all kinds.

Read Daniel 1:17 Using Other Translations

As for these four children, God gave them knowledge and skill in all learning and wisdom: and Daniel had understanding in all visions and dreams.
As for these four youths, God gave them learning and skill in all literature and wisdom, and Daniel had understanding in all visions and dreams.
God gave these four young men an unusual aptitude for understanding every aspect of literature and wisdom. And God gave Daniel the special ability to interpret the meanings of visions and dreams.