وَخَلَقَ ٱللَّهُ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضَ بِٱلْحَقِّ وَلِتُجْزَىٰ كُلُّ نَفْسٍۭ بِمَا كَسَبَتْ وَهُمْ لَا يُظْلَمُونَ Qur’an Al-Jathiya (45:22)Wakhalaqa Allahu alssamawati waalarda bialhaqqi walitujza kullu nafsin bima kasabat wahum la yuthlamoona
See note [11] on 10:5 . The implication is that without a differentiation between right and wrong - or true and false - there would be no "inner truth" in the concept of a divinely-planned creation.
Cf. xliv. 38-39, and n. 4717. The government of the world is so ordered that each soul gets every chance for its full development, and it reaps the fruit of all its activities. If it breaks away from Allah's Grace, it suffers, but no injustice is done to anyone: on the contrary Allah's Bounty is always beyond man's deserts.