Surah Al-Muddaththir

74:38

كُلُّ نَفْسٍۭ بِمَا كَسَبَتْ رَهِينَةٌ

Every soul, for what it has earned, will be retained

Tafsir 74:38

Every soul will be taken to task for the actions that it did. Either its actions will destroy it or they will release and rescue it from destruction.