They (angels) said: "Glory is to You, we have no knowledge except what you have taught us. Verily, it is You, the Knower, the Wise."
Here the angels are praising Allah's holiness, and perfection above every kind of deficiency, affirming that no creature could ever acquire any part of Allah's knowledge, except by His permission, nor could anyone know anything except what Allah teaches them. This is why they said,
سُبْحَانَكَ لاَ عِلْمَ لَنَا إِلاَّ مَا عَلَّمْتَنَا إِنَّكَ أَنتَ الْعَلِيمُ الْحَكِيمُ
("Glory is to You, we have no knowledge except what you have taught us. Verily You are the Knower, the Wise) meaning,
Allah is knowledgeable of everything, Most Wise about His creation, and He makes the wisest decisions, and He teaches and deprives whom He wills from knowledge. Verily, Allah's wisdom and justice in all matters is perfect.
Adam's Virtue of Knowledge is demonstrated
Allah said,
قَالَ يَا ادَمُ أَنبِيْهُم بِأَسْمَأيِهِمْ فَلَمَّا أَنبَأَهُمْ بِأَسْمَأيِهِمْ قَالَ أَلَمْ أَقُل لَّكُمْ إِنِّي أَعْلَمُ غَيْبَ السَّمَاوَاتِ وَالاَرْضِ وَأَعْلَمُ مَا تُبْدُونَ وَمَا كُنتُمْ تَكْتُمُونَ