Translation of the verse 22 from Surah Al-Jathiyah : Number of verses 37 - - page 500 - Part 25.
And Allah has created the heavens and the earth with truth, in order that each person may be recompensed what he has earned, and they will not be wronged.
And Allah created the heavens and earth in truth and so that every soul may be recompensed for what it has earned, and they will not be wronged.
(45:22) Allah created the heavens and the earth in Truth *28 that each person may be requited for his deeds. They shall not be wronged. *29
*28) That is, 'Allah has not created the earth and the heavens for mere sport, but it is a wise system with a purpose. In this system it is absolutely unimaginable that the people who may have accomplished good deeds by the right use of the powers and means and resouces granted by AIlah and the people who may have spread mischief and wickedness by their wrong use, should end up ultimately in the dust after death, and there should be no life hereafter in which their good and bad deeds should lead to good or bad results according to justice. If this were so, this universe would be the plaything of a thoughtless being, and not a purposeful system devised by a Wise Being." (For further explanation, sec AIAn'am: 73, Yunus: 5-6, Ibrahim: 19, An-Nahl: 3, AI-'Ankabut: 44 and E.N.'s 75, 76; Ar-Rum: 8 and E.N. 6 on it).
*29) In this context the sentence clearly means: 'If the good people are not rewarded for their goodness, and the wicked are not punished for their wickedness, and the grievances of the oppressed are not redressed, it would be injustice. There cannot be such an injustice in the Kingdom of God. Likewise, there cannot also be the other kind of injustice that a good man be given a lesser reward Matt what is due to him, or a bad man given a greater punishment than what he deserves. "