Daniel 1:17 RSV

17 As for these four youths, God gave them learning and skill in all letters and wisdom; and Daniel had understanding in all visions and dreams.