كَذٰلِكَۗ وَقَدْ اَحَطْنَا بِمَا لَدَيْهِ خُبْرًا ( الكهف: ٩١ )
Kazaalika wa qad ahatnaa bimaa ladaihi khubraa (al-Kahf 18:91)
Thus. And We had encompassed [all] that he had in knowledge. (Al-Kahf  : 91)
1 Mufti Taqi Usmani
Thus it was, and Our knowledge fully comprehends whatever (wealth and equipment) he had with him.