Tafsir Ibn Kathir -> Surah Al-Anbiya -> Creation was made with Justice and Wisdom

Allah tells us that He created the heavens and the earth in truth, i.e. with justice.

﴿لِيَجْزِىَ الَّذِينَ أَسَاءُواْ بِمَا عَمِلُواْ وَيِجْزِى الَّذِينَ أَحْسَنُواْ بِالْحُسْنَى﴾

(that He may requite those who do evil with that which they have done, and reward those who do good, with what is best.) ﴿53:31﴾. He did not create all that in vain or for (mere) play:

﴿وَمَا خَلَقْنَا السَّمَآءَ وَالاٌّرْضَ وَمَا بَيْنَهُمَا بَـطِلاً ذَلِكَ ظَنُّ الَّذِينَ كَفَرُواْ فَوَيْلٌ لِّلَّذِينَ كَفَرُواْ مِنَ النَّارِ ﴾

(And We created not the heaven and the earth and all that is between them without purpose! That is the consideration of those who disbelieve! Then woe to those who disbelieve from the Fire!) ﴿38:27﴾

﴿لَوْ أَرَدْنَآ أَن نَّتَّخِذَ لَهْواً لاَّتَّخَذْنَـهُ مِن لَّدُنَّآ إِن كُنَّا فَـعِلِينَ ﴾

(Had We intended to take a pastime, We could surely have taken it from Us, if We were going to do (that).) Ibn Abi Najih said, narrating from Mujahid:

﴿لَوْ أَرَدْنَآ أَن نَّتَّخِذَ لَهْواً لاَّتَّخَذْنَـهُ مِن لَّدُنَّآ﴾

(Had We intended to take a pastime, We could surely have taken it from Us,) "Meaning, `From Ourself,' He is saying, `We would not have created Paradise or Hell or death or the resurrection or the Reckoning.'''

﴿إِن كُنَّا فَـعِلِينَ﴾

(if We were going to do (that). ) Qatadah, As-Suddi, Ibrahim An-Nakha`i and Mughirah bin Miqsam said: "This means, `We will not do that.''' Mujahid said, every time the word

﴿أَنْ﴾

(if) is used in the Qur'an, it is a negation.

﴿بَلْ نَقْذِفُ بِالْحَقِّ عَلَى الْبَـطِلِ﴾

(Nay, We fling the truth against the falsehood,) means, `We explain the truth and thus defeat falsehood.' Allah says:

﴿فَيَدْمَغُهُ فَإِذَا هُوَ زَاهِقٌ﴾

(so it destroys it, and behold, it disappears.) it is fading and vanishing.

﴿وَلَكُمُ الْوَيْلُ﴾

(And woe to you) O you who say that Allah has offspring.

﴿مِمَّا تَصِفُونَ﴾

(for that which you ascribe.) that which you say and fabricate. Then Allah informs of the servitude of the angels, and how they persevere in worship night and day: