Aal-'Imran - 3:182

ذَلِكَ بِمَا قَدَّمَتْ أَيْدِيكُمْ وَأَنَّ اللّهَ لَيْسَ بِظَلاَّمٍ لِّلْعَبِيدِ
[3:182]
This is for what your own hands have sent before and because Allah is not in the least unjust to the servants.
"This is because of the (unrighteous deeds) which your hands sent on before ye: For Allah never harms those who serve Him."
This is on account of that which your own hands have sent before (you to the judgment). Allah is no oppressor of (His) bondmen.