Sura Al-Baqara

2:30

وَإِذْ قَالَ رَبُّكَ لِلْمَلَٰٓئِكَةِ إِنِّى جَاعِلٌۭ فِى ٱلْأَرْضِ خَلِيفَةًۭ ۖ قَالُوٓا۟ أَتَجْعَلُ فِيهَا مَن يُفْسِدُ فِيهَا وَيَسْفِكُ ٱلدِّمَآءَ وَنَحْنُ نُسَبِّحُ بِحَمْدِكَ وَنُقَدِّسُ لَكَ ۖ قَالَ إِنِّىٓ أَعْلَمُ مَا لَا تَعْلَمُونَ

OCH SE, din Herre sade till änglarna: "Jag skall tillsätta en ställföreträdare på jorden." [Änglarna] sade: "Skall Du tillsätta någon som stör ordningen där och sprider sedefördärv och [till och med] utgjuter blod, medan det är vi som sjunger Ditt lov och prisar Ditt heliga namn?" [Gud] svarade: "Jag vet vad ni inte vet."

Tafsir 2:30

Allah tells His Prophet and humankind that He said to the angels that He would put humans on earth who will give birth to other humans, to inhabit it according to His laws. The angels asked their Lord, trying to understand, what the wisdom behind making the children of Adam guardians of the earth was, when they would ruin things in it, and kill in it, while the angels always do as He tells them, and recognise His greatness, praising Him and honouring His power and perfection. Allah replied to their question, saying that He knew the deep wisdom behind His creation of them, and behind making them guardians, and the angels did not.