In reading through a bit of tafsir, I came across a statement from Hasan al-Basri in which he stated, in relation to this passage, some food for thought on justice:
وَكُلَّ إِنسانٍ أَلزَمناهُ طائِرَهُ في عُنُقِهِ ۖ وَنُخرِجُ لَهُ يَومَ القِيامَةِ كِتابًا يَلقاهُ مَنشورًا
“We’ve tied the bird man used for fortune telling around his neck and on the Day of Judgment We’re going to bring out a record that he’ll see laid out in the open!” — Qur’an 17: 13
عدل والله فيك من جعلك حسيب نفسك
“I swear by God He has done ultimate justice by making you give testimony of your own deeds.” — Tafsir Ibn Kathir